Deprecation notice
After using gist, I get an email telling "[GitHub API] Deprecation notice for authentication via URL query parameters".
Are there any updates on the repo?
======
On February 12th, 2020 at 03:33 (UTC) your personal access token (The gist gem (2020-01-05 09:46:00 +0900)) using gist/5.0.0 (Net::HTTP, ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]) was used as part of a query parameter to access an endpoint through the GitHub API:
https://api.github.com/gists
Please use the Authorization HTTP header instead, as using the access_token query parameter is deprecated and will be removed July 1st, 2020.
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
v5.1.0 released last week contains the fix: 635b1437a513e9a13367827ee3f74fbbdaa54aa8 :+1:
brew upgrade gist tells me "gist 5.0.0 already installed".
What do you suggest to upgrade to @5.1.0?
You need to wait for the homebrew package maintainer to update the gist package.
I don't really know how homebrew is organised so I don't know who to ping about this, but @MikeMcQuaid can probably tell you :+1:
https://github.com/Homebrew/homebrew-core/pull/50112 will fix this
Thanks.
brew upgrade gist
It worked.
I'm using gist 5.1.0, and I got the same deprecation email 🤔
Ditto with 5.1.0 and deprecation e-mail. FWIW I'm using the Nix package manager, and the 5.1.0 version source is from ruby gems https://rubygems.org/gems/gist-5.1.0.gem
Actually, that depreciation notice is slightly different.
On ${date} you or an application you used recently accessed the deprecated Authorizations endpoint on the GitHub API with the useragent gist/5.1.0 (...).
We will remove the Authorizations API endpoint on November 13, 2020. If you accessed the API via password authentication, then we recommend you use the web flow to authenticate. Please check that your app uses the web flow for authentication https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow
You can learn more about these changes by visiting our developer blog https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/
and is related to https://github.com/defunkt/gist/issues/315