Skip to content

Cabot using deprecated access_token GitHub query parameter #698

@jakubgs

Description

@jakubgs

When I used GitHub OAuth with Cabot I received the following warning in the mail:

Hello there!

On October 16th, 2020 at 11:54 (UTC) your application (Cabot Canaries) used an access token (with the User-Agent python-requests/2.13.0) 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 on a monthly basis.

Visit https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param for more information about suggested workarounds and removal dates.

Thanks,
The GitHub Team

It appears that the access_token query parameter will be removed in roughly 8 months:

All authentication using query parameters will return a status code of 401 like all other auth failures starting on:
May 5, 2021 at 16:00 UTC

For more details: https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions