Skip to content

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

Closed
@MylesBorins

Description

@MylesBorins

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

Metadata

Metadata

Assignees

Labels

Agendawill be discussed at the Open RFC calldiscuss

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions