Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access_token query is depreciated #19

Open
fredster33 opened this issue Feb 25, 2021 · 0 comments
Open

access_token query is depreciated #19

fredster33 opened this issue Feb 25, 2021 · 0 comments

Comments

@fredster33
Copy link

When using RepoSweeper, GitHub sends an email notification:

Hi @[username here],

On February 22nd, 2021 at 22:15 (UTC) your personal access token ([token name here]) using Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4412.0 Safari/537.36 Edg/90.0.796.0 was used as part of a query parameter to access an endpoint through the GitHub API:

https://api.github.com/user/[redacted]/repos

Please use the Authorization HTTP header instead, as using the `access_token` query parameter is deprecated. If this token is being used by an app you don't have control over, be aware that it may stop working as a result of this deprecation.

Depending on your API usage, we'll be sending you this email reminder on a monthly basis 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/2020-02-10-deprecating-auth-through-query-param for more information about suggested workarounds and removal dates.

Thanks,
The GitHub Team

Workarounds and alternatives are available at https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param.

ChrisRomp added a commit to ChrisRomp/RepoSweeper that referenced this issue Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant