Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Authorization header for Github PAT #32

Merged
merged 1 commit into from
Aug 20, 2020

Commits on Aug 20, 2020

  1. Use Authorization header for Github PAT

    PATs are oauth tokens so there's no reason to use BasicAuth here.
    
    I read the GH docs as recommending `Authorization: Bearer` if possible.
    
    GH understands what kind of token is being used, e.g. I see:
    `Added on Aug 20, 2020 via personal access token owned by
    @michaelbeaumont`
    when I authenticate this way and add a DeployKey
    michaelbeaumont committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    e49a1ae View commit details
    Browse the repository at this point in the history