Page MenuHomePhabricator

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

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

Details

Summary

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

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

Event Timeline

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.