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