clearlydefined / clearlydefined/service

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

Open
#702 8 comments 0 reactions 0 assignees View on GitHub
bug reproducible
Dominant language
TypeScript
Stars
51
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Hello there!

On February 3rd, 2020 at 22:31 (UTC) your application (ClearlyDefined) used an access token (with the User-Agent passport-github) as part of a query parameter to access an endpoint through the GitHub API.

https://api.github.com/user/emails

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 once every 3 days for each token and User-Agent used in API calls made on your behalf.
Just one URL that was accessed with a token and User-Agent combination will be listed in the email reminder, not all.

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

Thanks,
The GitHub Team

Contributor guide

Open the contributing guide

Research direction

Start by locating the GitHub API request for /user/emails and check whether the access_token is being sent as a query parameter. Replace that authentication usage with the Authorization HTTP header, then verify that the request still succeeds without the deprecated parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.