New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adduser --always-auth not working #704
Comments
I still can reproduce it with npm 6.14.10. As a workaround I added it manually with
|
What about with npm 7? |
@ljharb tested with 7.4.3, same problem |
npm If your bug is preproducible on If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo Closing: This is an automated message. |
This is still an issue with npm 7.4.3. @jeffrson can you confirm if it's still an issue in npm 7 latest? |
The npm behavior now is to send the auth it has for a given registry on each request. |
The
adduser
command has a parameter--always-auth
which is supposed to"given registry" refers to the
--registry
parameter.So how should this be done? IMO, it should store an additional key inside user's .npmrc, which adds "always-auth" to the registry alongside the access token.
However, it seems nothing is done at all - only the access token appears in .npmrc.
(npm 6.13.6)
The text was updated successfully, but these errors were encountered: