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

[RRFC] make --auth-type=web the default for login + publish to the public registry in npm 9 #629

Closed
MylesBorins opened this issue Aug 18, 2022 · 2 comments
Assignees
Labels
Agenda will be discussed at the Open RFC call discuss

Comments

@MylesBorins
Copy link

Motivation ("The Why")

We recently introduced a significant upgrade to the login + publish which streamlines the login + publish experience through the website.

Example

How

Current Behaviour

today you have to do npm login --auth-type=web or npm publish --auth-type=web to take advantage of the new flow.

Desired Behaviour

npm login and npm publish use --auth-type=web by default /w an opt out via --auth-type=legacy

We would likely want to only have this as the behavior for the public registry

References

  • n/a
@bnb
Copy link

bnb commented Sep 21, 2022

Is the dual intention of this to also move the current workflow to be a "legacy" workflow? If so, is there going to be a better machine-run publishes in the near future?

@MylesBorins
Copy link
Author

We are definitely interested in exploring improvements to publishing flows with a focus on CI/CD based workflows but it isn't yet on the public roadmap as we have to complete a number of existing work items and get some up front design done before we can speculate on timelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agenda will be discussed at the Open RFC call discuss
Projects
None yet
Development

No branches or pull requests

4 participants