Skip to content
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

fix: get auth token correct when login with sso #50

Merged
merged 1 commit into from
May 20, 2021

Conversation

ShangguanQuail
Copy link

@ShangguanQuail ShangguanQuail commented May 7, 2021

npm login --auth-type=sso fail, because the params forceAuth is { token }, but _authToken is used in auth.js

PR-URL: npm#50
Credit: @ShangguanQuail
Close: npm#50
Reviewed-by: @isaacs

EDIT(@isaacs): updated token in test so that it was more clear which one
was being selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants