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

GitHub API access_token query parameter is deprecated #164

Closed
thompsongl opened this issue Feb 3, 2020 · 0 comments · Fixed by #165
Closed

GitHub API access_token query parameter is deprecated #164

thompsongl opened this issue Feb 3, 2020 · 0 comments · Fixed by #165

Comments

@thompsongl
Copy link

Received an email from GitHub today after using backport to create a PR in elastic/kibana:

your personal access token (sqren/backport) using axios/0.19.0 was used as part of a query parameter to access an endpoint through the GitHub API
[...]
Please use the Authorization HTTP header instead, as using the access_token query parameter is deprecated.
[...]
Visit https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters for more information.

Global config.json used to store access_token value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant