Setting up Trusona for npm using 2-Step Verification with TOTP

This guide details the steps required to set up Trusona as a 2-step verification authenticator with TOTP for npm

Installing the Trusona App

Before you get started with the instructions below you'll need to install and register with the Trusona App.

  1. Download the Trusona App on the Apple App Store or Google Play Store.
  2. Follow the registration steps in the App.
  3. Verify your email by clicking the link from Trusona.
  4. You're setup and ready to go!

Download on the App Store Get it on Google Play

1. Log in to npm

Log in to npm

2. Click on Account

Click on Account

Click on Account
Click on Account

3. Two Factor Authentication

Click on the Enable 2FA button.

Click on Enable 2FA button
Click on Enable 2FA Button

4. Applying Two Factor Authentication Options

You will be presented with 3 different options for implementing Two Factor Authentication. Select one of the first two options.

The option you select will depend on your role and your organization's security policies. Make sure to consult a manager or admin before selecting.

Select an option
Select an option

5. Scan the QR Code

A QR code will be shown on the screen.

  1. Open the Trusona app, and tap on the Settings menu
  2. Tap 2-step verification (TOTP)
  3. Scan the QR code
  4. Type in the number you see from the Trusona app
Scanning the code
Scanning the code

6. Backup Codes

You will receive a list of backup codes to use in the event you are unable to utilize the authenticator app. Be sure to save them in a secure location.

Securing backup codes
Securing backup codes

7. Finalize

Once you have safely secured the backup codes, click to proceed. It should now show that Two-Factor Authentication is Enabled

Setup complete! The next time you log in to npm and are prompted for a One-time passcode, you can use the Trusona app to log in.

Finalize
Finalize

Integrations

Desktop
IAM and SSO
SCIM
PAM
Productivity
VPN
General

Guides

Get started guides
Implementation guides
Users guides

SDKs

Mobile SDKs
Server SDKs
Web SDKs

APIs

Authentication Service
ID Proofing Service
Mobile Auth for Browsers Service

TOTP

Business
E-commerce
Finance
Productivity
Social
Gaming
Other