Support web otp · Issue #1773 · changesets/changesets · GitHub
Skip to content

Support web otp #1773

Description

@bluwy

Changesets currently only support token-based otp (aka classic otp):

Web-based otp, which opens the browser to login is not supported, which is required for newer 2fa types like webauthn and passkeys, which is being pushed by npm and at the same time sunsetting TOTP (which I think is stupid).

Anyways, we probably need to copy npm's flow:

https://github.com/npm/cli/blob/7f7223833b9f655ea82039cf389ed8d03fb3b212/lib/utils/auth.js#L6-L33
https://github.com/npm/npm-profile/blob/92b3c147b18d2122b5eee5880d2848625068bd8c/lib/index.js#L80


Alternatively, we should figure a flow that doesn't require us to manually implement them, something for next perhaps.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions