Skip to content

Update npm #8641

Closed
Closed

Description

@pjrobot

Site name

npm

Site URL

https://www.npmjs.com/

Update reason

The methods of 2FA that it supports have changed.

Additional information

npm appears now to solely support passkey:

https://docs.npmjs.com/configuring-two-factor-authentication

"You can enable two-factor authentication (2FA) on your npm user account to protect against unauthorized access to your account and packages using a security-key."

I noticed that Vaultwarden reports a missing 2FA entry for this login, but I can never silence said warning due to lack of support for OTP.

Issue Eligibility

  • The issue I'm creating is not a duplicate of an existing issue.
  • The issue I'm creating is not a duplicate of an existing pull request

Activity

  1. added
    update siteIssue/PR updates information about a site in the repo.
    on Aug 19, 2026
  2. hkamran80 commented on Aug 24, 2026

    @hkamran80
    Member

    I can still configure an authenticator app in my npm account. Is it just the documentation that's changed or are you unable to configure it?

  3. pjrobot commented on Aug 24, 2026

    @pjrobot
    Author

    Hi @hkamran80, so originally I had an authenticator app which persisted but once deleted could not be replaced, the option to add authenticator was no longer available. This behaviour would suggest they are supporting existing authenticator app registration, but are phasing them out. This is supported by the current documentation which specifies passkey only.

    Here are the menu options available in my 2FA settings following deletion of my old authenticator setup.

    Image
  4. hkamran80 commented on Aug 24, 2026

    @hkamran80
    Member

    Got it. Thanks for checking!
    I'll make a PR to update the entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    update siteIssue/PR updates information about a site in the repo.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions