Skip to main content

Log in with a Passcode for Two-Step Login

How to use a passcode to authenticate with Two-Step Login

This article applies to: Two-Step Login


Log in Using a Passcode

  1. Select Enter a Passcode on the Two-Step Login authentication prompt.
  2. Type in the one-time passcode from your Duo Mobile app, hardware token, or text message.
  3. Select Log In.
When using a passcode, you don’t need to select any specific device at the authentication prompt.

Get a Passcode from the Duo Mobile App

Use the Duo Mobile app on your smartphone or mobile device to generate a passcode. This works anywhere, even in places where your device doesn't have an internet connection or cell service.

  1. Open the Duo Mobile app.
  2. Tap the down arrow to view your passcode.
  3. If needed, tap refresh (double arrows icon) to generate a new passcode.

See specific screen pictures for your device type in Duo Security's Guide to Two-Factor Authentication.

Get a Passcode from a Hardware Token

Acquire and enroll a hardware token that will display a passcode with a simple button push.

If you encounter a problem using a hardware token to log in, see some possible causes and solutions.

If the token generates anything other than a passcode, it is considered defective. Duo will replace a token for up to six months after purchase. Unfortunately, since the Cornell Store purchases tokens in bulk, by the time a person obtains one, the warranty has expired. The only solution for a defective token is to buy a new one, or ask your department to replace the token.

For more information, see Duo Security's Guide to Two-Factor Authentication.

Get SMS Passcodes via Text Message

To generate passcodes ahead of time, go to Two-Step Login, then select the Manage Devices button. This will take you to the Two-Step Login authentication prompt. You will need a device enrolled that can accept text messages. If needed, you can add a new device from this screen before you get your passcodes using the steps below: 

  1. From the Duo authentication prompt, select your smartphone or mobile device to receive passcodes.
  2. Select Enter a Passcode on the Two-Step Login authentication prompt.
  3. Select Text Me New Codes.
  4. You will receive a text message with 10 SMS passcodes, each good for one login.
You can use stored SMS passcodes when you don't have cellular service. You can also copy down the passcodes and keep them in your wallet in case your phone is not available.

Two-Step Login keeps track of which passcodes you have used. When logging in, it will tell you the first number of your next unused passcode.

For more information, see Duo Security's guide to SMS Passcodes.
A new batch of passcodes will invalidate all old passcodes. Recommended: Delete all old messages when a new one comes in.

Was this page helpful?

Your feedback helps improve the site.

Comments?