As mentioned in this previous blog post, GitHub has deprecated the OAuth authorization endpoints and recommends that integrators switch to the web application flow to generate access tokens.
Since the OAuth Authorization API requires password authentication, this API will not work once password authentication has been deprecated.
This deprecation has not been applied to GitHub Enterprise offerings, yet. Though, we still recommend GHES customers to make the changes in their applications, if possible. Please check the latest Enterprise release notes to learn when deprecation is initiated and on which GHES version OAuth Authorization API will be removed.
Deprecation timeline Removal dateAll calls to the OAuth authorization endpoints will return a status code of 404 starting on:
During a brownout, calls to the old version of the OAuth Authorization API will temporarily fail. The goal is to trigger alerts (assuming there are any) on our customers' services to help find unmigrated endpoint calls.
The brownouts are scheduled for:
September 30, 2020
October 28, 2020
Calls to OAuth Authorizations API
If you're making OAuth Authorization API calls to manage your OAuth app's authorizations or to create personal access or OAuth tokens like:
curl -u my_username:my_password -X POST "https://api.github.com/authorizations" -d '{"scopes":["public_repo"], "note":"my token", "client_id":"my_client_id", "client_secret":"my_client_secret"}'
Then you must switch to the web application flow to generate access tokens.
Endpoints affectedThe following list of OAuth authorization endpoints are deprecated:
GET /authorizations
GET /authorizations/:authorization_id
POST /authorizations
PUT /authorizations/clients/:client_id
PUT /authorizations/clients/:client_id/:fingerprint
PATCH /authorizations/:authorization_id
DELETE /authorizations/:authorization_id
GET /applications/grants
GET /applications/grants/:grant_id
DELETE /applications/grants/:grant_id
If you have any questions or feedback, please let us know!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4