Skip to content

[GitHub API] Deprecation notice for authentication via URL query parameters #9

@tamalsaha

Description

@tamalsaha

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.

Metadata

Metadata

Assignees

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