-
Select Topic AreaBug BodyHi everyone, I'm trying to set up two-factor authentication (2FA) on my npm account, but I'm unable to find the option to use an authenticator app (like Google Authenticator, Authy, etc.). What I've Tried I asked a friend who already has 2FA enabled with an authenticator app to show me their settings page. Their page has a dedicated "Authenticator App" section, which clearly states: Authenticator app is configured. However, this entire "Authenticator App" section is completely missing from my account settings page. There is no UI element for it at all. Further Verification My Questions Thank you for your time and help! |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 19 replies
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
|
this is working as intended. As we informed in September, users can no longer config new TOTP 2fa methods. The Authenticator Apps was previously used for TOTP. Existing configurations are not removed yet, so that's why you could still see it before removing the one that was there. You can create a new security key for a stronger 2fa method. TOTP is no needed that way. |
Beta Was this translation helpful? Give feedback.
-
|
They create endless problems. I always use TOTP for everything and have never been hacked anywhere. The problem with hacking is only a problem for people who don't know how to practice digital hygiene, and there, a security key is useless! |
Beta Was this translation helpful? Give feedback.
-
|
I don't have physical security key, nor do I have fingerprint reader. Currently browser tells me to touch fingerprint which I don't have! I guess I'm not doing 2FA at all then! Thanks for making my account less secure! |
Beta Was this translation helpful? Give feedback.
-
|
Nice, now I cannot upgrade my package. 😡 |
Beta Was this translation helpful? Give feedback.
-
|
Wow what a horrible decision. You could at least warn people of this BEFORE they remove their 2FA app. I guess I'm done with NPM, or just not have 2FA, a much worse scenario. Nice one guys. |
Beta Was this translation helpful? Give feedback.
-
|
So basically to upload a new package you need to buy a security usb device. Ver yakward and impossible to do just for one service... |
Beta Was this translation helpful? Give feedback.
-
|
I typically use KeePassXC for TOTP-based authentication. As others have noted, using TOTP is no longer possible, but KeePassXC also supports passkey-based 2FA, so I'm now using that for npm. To be clear, you do not need to buy a USB security device or a fingerprint reader or anything else like that. I was able to get KeePassXC working on my laptop without buying any special hardware. I don't doubt other software is available for this, but in case anyone else is interested in how I got it working... The documentation for KeePassXC explains in detail the steps required to get passkeys working. The short version is:
Then, when a website such as npmjs.com tries to use WebAuthn to prompt for 2FA, KeePassXC will intercept it and try to handle it. Previously I saw a message asking me to scan a QR code or tap my security key, but now I instead get a pop-up from KeePassXC. To publish packages I tend to use trusted publishing for GitHub. That avoids the need to provide my passkey for each publish, but you still need 2FA enabled on your account to be able to use trusted publishing. However, I have also tested publishing a package manually and that also works with 2FA. Both |
Beta Was this translation helpful? Give feedback.
-
|
Fix for npm publish 403 2FA issue (passkey flow) I had the same issue when publishing a package. The fix was: 1.Go to npmjs.com on mobile It’s a bit messy flow, but it's the best solution I found to fix the issue.. i hope npmjs will add back authenticator app feature in future.... |
Beta Was this translation helpful? Give feedback.



this is working as intended. As we informed in September, users can no longer config new TOTP 2fa methods. The Authenticator Apps was previously used for TOTP. Existing configurations are not removed yet, so that's why you could still see it before removing the one that was there.
You can create a new security key for a stronger 2fa method. TOTP is no needed that way.