2FA methods supported by NuGet
Adding two-factor authentication is one of the most effective ways to protect your NuGet account. With TOTP support, you can generate NuGet verification codes directly in the Authenticator App.
SMS
NuGet can send a one-time verification code to your phone via text message.
Proprietary app
NuGet offers its own companion app for approving sign-ins.
Authenticator app (TOTP)
NuGet lets you use time-based one-time passwords, so you can generate verification codes in an authenticator app on your device — no network or SMS needed.
Security key (U2F)
NuGet works with hardware security keys using the U2F/FIDO standard.
Phone call
NuGet can call your phone and read out a verification code.
NuGet 2FA — Frequently asked questions
Does NuGet support an authenticator app?
Yes. NuGet supports time-based one-time passwords (TOTP), so you can add it to the Authenticator App and generate verification codes right on your device.
Which two-factor authentication methods does NuGet support?
NuGet currently supports: SMS, Proprietary app, Authenticator app (TOTP), Security key (U2F), Phone call.
Is it free to generate NuGet codes with the Authenticator App?
Yes. The Authenticator App is free to download, and generating NuGet verification codes does not require an account or sign-up.
This page is for educational purposes only. We are not affiliated with or endorsed by NuGet. All trademarks and product names are the property of their respective owners and are used solely for identification.