Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Authentication deprecation from GitHub #176

Open
GregSutcliffe opened this issue Feb 4, 2020 · 1 comment
Open

Authentication deprecation from GitHub #176

GregSutcliffe opened this issue Feb 4, 2020 · 1 comment

Comments

@GregSutcliffe
Copy link

I've been using GHCrawler for about a year with great success - thanks for the awesome tool :)

Today, I got a deprecation notice from Github when the crawler fired up to do some work:

Hi @GregSutcliffe,

On February 4th, 2020 at 14:02 (UTC) your personal access token (<redacted>) using ghrequestor was used as part of a query parameter to access an endpoint through the GitHub API:

https://api.github.com/organizations/44586252

Please use the Authorization HTTP header instead, as using the `access_token` query parameter is deprecated.

Depending on your API usage, we'll be sending you this email reminder once every 3 days for each token and User-Agent used in API calls made on your behalf.
Just one URL that was accessed with a token and User-Agent combination will be listed in the email reminder, not all.

Visit https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters for more information.

Thanks,
The GitHub Team

I'm guessing that GHCrawler needs to be updated to handle the new authentication system. I'm happy to help test fixes, or even take a bash at it myself if you can point me in the right direction code-wise. Thanks!

@gundalow
Copy link

Hi,
Anything we can do to help with this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants