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

GitHub API Authorizations endpoint deprecated #92

Closed
paulcpederson opened this issue Apr 3, 2020 · 5 comments · Fixed by #93
Closed

GitHub API Authorizations endpoint deprecated #92

paulcpederson opened this issue Apr 3, 2020 · 5 comments · Fixed by #93

Comments

@paulcpederson
Copy link
Contributor

When I recently released from an account with two factor auth I got a deprecation notice. It worked fine, but seems as though it won't work starting 2020?

You or an application you used recently accessed the deprecated Authorizations endpoint on the GitHub API with the useragent gh-release.

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/

@ungoldman
Copy link
Owner

yay

@paulcpederson
Copy link
Contributor Author

This is very confusing, is web application flow even possible from the command line?

@bcomnes
Copy link
Collaborator

bcomnes commented Apr 3, 2020

Woo change for changes sake. My favorite.

Yeah web flows are possible in CLI. From memory, you show/open a url to the user, they open it in a browser, log in and click authorize, while the CLI polls in in the background at some token URL. When the flow in the browser completes, the CLI gets a token.

@bcomnes
Copy link
Collaborator

bcomnes commented Aug 3, 2020

Going to take a look at this.

@bcomnes bcomnes mentioned this issue Aug 4, 2020
@bcomnes
Copy link
Collaborator

bcomnes commented Aug 4, 2020

Draft PR: #93

Not quite fixed yet, but baselined all the deps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants