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

Deprecation notice #310

Open
shinokada opened this issue Feb 12, 2020 · 8 comments
Open

Deprecation notice #310

shinokada opened this issue Feb 12, 2020 · 8 comments

Comments

@shinokada
Copy link

shinokada commented Feb 12, 2020

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://github.com/gitapi/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

@1ace
Copy link

1ace commented Feb 12, 2020

v5.1.0 released last week contains the fix: 635b143 👍

@shinokada
Copy link
Author

brew upgrade gist tells me "gist 5.0.0 already installed".
What do you suggest to upgrade to @5.1.0?

@1ace
Copy link

1ace commented Feb 12, 2020

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 👍

@MikeMcQuaid
Copy link

Homebrew/homebrew-core#50112 will fix this

MikeMcQuaid added a commit to Homebrew/homebrew-core that referenced this issue Feb 13, 2020
Fixes defunkt/gist#310

Closes #50112.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
@shinokada
Copy link
Author

Thanks.

brew upgrade gist

It worked.

@digitalronin
Copy link

I'm using gist 5.1.0, and I got the same deprecation email 🤔

@KoviRobi
Copy link

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

@KoviRobi
Copy link

KoviRobi commented Mar 31, 2020

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 #315

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.

5 participants