Page MenuHomePhabricator

Update GitHub API calls to use "Authorization" header instead of "access_token" URI parameter

Authored by epriestley on Feb 4 2020, 3:51 PM.



Fixes T13485. GitHub has deprecated the "access_token" URI parameter for API authentication. Update to "Authorization: token ...".

Test Plan

Linked and unlinked a GitHub account locally.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Feb 4 2020, 3:51 PM
epriestley requested review of this revision.Feb 4 2020, 3:53 PM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 4 2020, 3:58 PM
This revision was automatically updated to reflect the committed changes.