ingydotnet/git-hub

Deprecation Notice from GitHub

kyzn opened this issue · 3 comments

kyzn commented

Hi Ingy! Hope everything is alright. I just went ahead and run git hub setup. After following steps I received this email from GitHub. Sharing here in case it's useful for the project.

Hi @kyzn,

On June 13th, 2020 at 18:57 (UTC) you or an application you used recently accessed the deprecated Authorizations endpoint on the GitHub API with the useragent git-hub-0.1.4.

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/

Thanks,
The GitHub Team

Let me know if I can help further. Thanks!
Kivanc

spazm commented

The work around is to have the user manually create the token. Super lame.

Or use web-flow which requires a listening http server for the postback. You could run a public webservice, but then users need to trust your webservice with their auth token.

I hope I am incorrect in my reading of the options.

kyzn commented

Hey @spazm! Thanks for looking into this. I read it the same: I think those are two options to go forward. They also mention an "enterprise" where they didn't deprecate this feature, but I assumed that's not applicable here.