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] Deprecation notice for authentication via URL query parameters #9

Open
tamalsaha opened this issue Feb 14, 2020 · 0 comments
Assignees

Comments

@tamalsaha
Copy link
Contributor

const apiUrl = state.githubToken ?
`https://api.github.com/repos/${orgName}/${repoName}/issues?access_token=${state.githubToken}` :
`https://api.github.com/repos/${orgName}/${repoName}/issues`;

Please use the Authorization HTTP header instead, as using the access_token query parameter is deprecated and will be removed July 1st, 2020.

Visit https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters for more information.

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

No branches or pull requests

2 participants