nodist icon indicating copy to clipboard operation
nodist copied to clipboard

The OAuth Token in nodist/lib/github.js is expired

Open cplumb opened this issue 3 years ago • 3 comments

The OAuth Token in nodist/lib/github.js appears to have expired or been invalidated. As a result new versions of NPM can't be downloaded through Nodist. An updated token fixes the issue.

cplumb avatar May 24 '21 22:05 cplumb

Thanks for the report. I saw the temporary token that you added.

I will update this and setup a new one. I think that to fix this there will need to be a user defined way of setting the token rather than distributing one.

nullivex avatar May 24 '21 22:05 nullivex

@nullivex I was able to fix the issue locally by updating the token as well. I got this email that the access_token query parameter will be deprecated. Might be worth switching over to the auth http header too?

```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.```

https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/

brianpham avatar May 26 '21 17:05 brianpham

I'm switching to nvm-windows. Don't see attached file or a new key in repo. No update for months.

janat08 avatar Dec 04 '21 19:12 janat08

Any chance this will be solved soon?

alexwaweru avatar Apr 04 '23 10:04 alexwaweru

This has been fixed in v.10.3

There it is possible to set an env variable with a GitHub access token.

Mairu avatar Dec 09 '23 10:12 Mairu