[github] Auth endpoint is being EOL november 13

Labels: Easy pick area/bridge

Timeline

Paul "Joey" Clark (joeytwiddle) opened

I just tried git-bug today, and the github bridge helped set up authentication for a private repository. But I got this email, and it looks like bad news:

On October 28th, 2020 at 15:24 (UTC) you or an application you used recently accessed the deprecated Authorizations endpoint on the GitHub API with the useragent Go-http-client/1.1.

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://docs.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://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/

Sorry to be the bearer!

Michael Muré (MichaelMure) added label area/bridge

Michael Muré (MichaelMure) changed the title from [github] Auth endpoint is being EOL november 13 to [github] Auth endpoint is being deprecated

Michael Muré (MichaelMure) changed the title from [github] Auth endpoint is being deprecated to [github] Auth endpoint is being EOL november 13

Michael Muré (MichaelMure) added label Easy pick

rng-dynamics (rng-dynamics) commented (edited)

I would like to take the issue. (I will probably need more than two or three days to produce a reasonable pull request, though.)

Michael Muré (MichaelMure) commented

Yes please!

Michael Muré (MichaelMure) commented

I don't have one, but I'll make one.

Michael Muré (MichaelMure) commented

Any idea what I should have as Authorization callback URL ?

Michael Muré (MichaelMure) commented

Alright, I set that url to http://example.com. I believe it's not useful for the device flow. I also opted in for the device flow.

Client Id is ce3600aa56c2e69f18a5.

That said, you might want to create an app on your account while you develop that thing, so you can see what is hapenning.

rng-dynamics (rng-dynamics) commented

Thanks

Michael Muré (MichaelMure) commented

Fixed with #496 :tada: . The annoying thing though is that we can't release a new version at the moment.

Michael Muré (MichaelMure) closed the bug