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

Using the access_token query parameter is deprecated #13

Open
zeronoises opened this issue Feb 3, 2020 · 2 comments
Open

Using the access_token query parameter is deprecated #13

zeronoises opened this issue Feb 3, 2020 · 2 comments

Comments

@zeronoises
Copy link

zeronoises commented Feb 3, 2020

Just got an automated email from Github after my Pacminity Gist was successfully updated:

Hi @zeronoises,

On February 3rd, 2020 at 23:13 (UTC) your personal access token (The gist gem (2019-03-20 21:20:34 +0000)) using gist/5.0.0 (Net::HTTP, ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]) was used as part of a query parameter to access an endpoint through the GitHub API:

https://api.github.com/gists/6950c72c81e010386d012e8b84641b9a

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

@GiorgioGhisotti
Copy link

This is a problem with gist rather than with pacmanity itself. Though to be honest I don't think it can be fixed - https logins through tokens don't seem to be supported at all any more. Maybe by switching to ssh authentication...? I have opened an issue there.

@cirfis
Copy link

cirfis commented Feb 8, 2020

as per issue, and this commit are there any plans for utilizing Host Header instead? Thank you for this very useful tool!

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

No branches or pull requests

3 participants