pacmanity
pacmanity copied to clipboard
Using the `access_token` query parameter is deprecated
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