Skip to main content

Log in with a Passcode to 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 seven digit code (from the Duo Mobile app, a hardware token, or a 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 you don't have an internet connection or can't get 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 up to 6 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 to 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 phone 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 smart phone or cell phone that can 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 about 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.