madsleejensen/github-backup-aws-s3

Using the `access_token` query parameter is deprecated and will be removed July 1st, 2020

Opened this issue · 0 comments

@madsleejensen Been using this tool for a little while now (works great, many thanks!) but recently GitHub have periodically been sending emails stating:

On February 13th, 2020 at 00:00 (UTC) your personal access token (xxxxxxxxx) using nodejs was used as part of a query parameter to access an endpoint through the GitHub API:

https://api.github.com/repositories/xxxxxxx/tarball/master

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

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

I had a look in the backup.js to see if this was something I could tinker with to resolve but I'm not a developer so wasn't making much useful progress. Is this something you would consider updating?