question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[GitHub API] Deprecation notice for authentication via URL queryparameters

See original GitHub issue

I get this message after using this awesome script these days.

Using 1.1.2

using this call:

github-changes -o NLog -r NLog.Extensions.Logging  --only-pulls --token <mytoken>  --use-commit-body --file changelog.md -b master --date-format '(YYYY/MM/DD)'

Hi @304NotModified,

On December 29th, 2020 at 00:59 (UTC) your personal access token (changes2) using NodeJS HTTP Client was used as part of a query parameter to access an endpoint through the GitHub API:

https://api.github.com/repositories/49987133/tags

Please use the Authorization HTTP header instead, as using the access_token query parameter is deprecated. If this token is being used by an app you don’t have control over, be aware that it may stop working as a result of this deprecation.

Depending on your API usage, we’ll be sending you this email reminder on a monthly basis 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/2020-02-10-deprecating-auth-through-query-param for more information about suggested workarounds and removal dates.

Thanks, The GitHub Team

Is there some plan to change to the Authorization header?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
TheJavaGuycommented, Dec 30, 2020

2.0.1 works like a charm, no warning no nothing 😃 I uninstalled @octokit/core before installing 2.0.1 and it worked nonetheless. Thanks a million @lalitkapoor!

2reactions
TheJavaGuycommented, Dec 29, 2020

I’m almost sure this is due to the github-changes using very outdated dependency github at version 0.1.16. Latest version of github is 14.0.0, and even that is deprecated and moved to @octokit/rest (latest version being 18.0.12).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecation notice for authentication via URL query parameters
EDIT:// it seems that our GitHub-related dependencies are up to date. Need to investigate this further then. Are you using @master version?
Read more >
[GitHub API] Deprecation notice for authentication via URL ...
Hello there! On February 3rd, 2020 at 22:31 (UTC) your application (ClearlyDefined) used an access token (with the User-Agent ...
Read more >
[GitHub API] Deprecation notice for authentication via URL ...
Hi @berkerpeksag, On August 5th, 2020 at 22:35 (UTC) your application (GitHub Badge) used its `client_id` and `client_secret` (with the User-Agent ...
Read more >
GitHub deprecation notice for authentication via URL query ...
Github is emailing me about the deprecation of using access_token in the URL query parameters.
Read more >
Solution "[GitHub API] Deprecation notice for authentication via URL ...
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/ ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found