Skip to content

Conversation

@arcanis
Copy link
Member

@arcanis arcanis commented Nov 18, 2025

What's the problem this PR addresses?

Npm plans to fully remove the /-/user/org.couchdb.user:<name> endpoint. Since we use this endpoint to login, we need to implement support for the newer /-/v1/login endpoint.

How did you fix it?

A new option, --web-login, enables the web login flow (and fallbacks to the password flow if the web flow isn't supported). This flag is automatically enabled for the npm registry. This is technically a breaking change, but since it's the registry that plans to make that change I think it's ok.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit b65d527 into master Nov 20, 2025
26 checks passed
@arcanis arcanis deleted the mael/npm-web-auth branch November 20, 2025 19:40
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