Page MenuHomePhabricator

Update GitHub integration for "access_token" deprecation changes
Closed, ResolvedPublic

Description

See https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters.

Hi @epriestley,

On February 3rd, 2020 at 23:32 (UTC) your application (Phabricator) used an access token (with the User-Agent PhutilGitHubAuthAdapter) as part of a query parameter to access an endpoint through the GitHub API:

https://api.github.com/user

Please use the Authorization HTTP header instead as using the access_token query parameter is deprecated.

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

This is likely trivial to change.

Revisions and Commits

Restricted Differential Revision

Event Timeline

epriestley created this task.

The actual replacement is Authorization: token <token>, I believe:

https://developer.github.com/v3/#authentication

epriestley added a revision: Restricted Differential Revision.Feb 4 2020, 3:51 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.Feb 4 2020, 3:58 PM
epriestley added a commit: Restricted Diffusion Commit.