Skip navigation
Documentation

Duo Two-Factor Authentication for LastPass

Last Updated: May 17th, 2024

Contents

LastPass has partnered with Duo Security to bring two-factor authentication to LastPass logins, offering inline user enrollment, self-service device management, and support for a variety of authentication methods — such as passkeys and security keys, Duo Push, or Verified Duo Push — in the Universal Prompt.

Overview

Duo protects access to your LastPass data by requiring approval when logging in to your LastPass Vault.

Connectivity Requirements

This application communicates with Duo's service on SSL TCP port 443.

Firewall configurations that restrict outbound access to Duo's service with rules using destination IP addresses or IP address ranges aren't recommended, since these may change over time to maintain our service's high availability. If your organization requires IP-based rules, please review Duo Knowledge Base article 1337.

Effective June 30, 2023, Duo no longer supports TLS 1.0 or 1.1 connections or insecure TLS/SSL cipher suites. See Duo Knowledge Base article 7546 for additional guidance.

First Steps

  1. Sign up for a Duo account.
  2. Log in to the Duo Admin Panel and navigate to Applications.
  3. Click Protect an Application and locate the entry for LastPass in the applications list. Click Protect to the far-right to configure the application. and get your Client ID, Client secret, and API hostname. You'll need this information to complete your setup. See Protecting Applications for more information about protecting applications in Duo and additional application options.

    Previously, the Client ID was called the "Integration key" and the Client secret was called the "Secret key".

Treat your secret key like a password

The security of your Duo application is tied to the security of your secret key (skey). Secure it as you would any sensitive credential. Don't share it with unauthorized individuals or email it to anyone under any circumstances!

Duo Universal Prompt

The Duo Universal Prompt provides a simplified and accessible Duo login experience for web-based applications, offering a redesigned visual interface with security and usability enhancements.

Universal Prompt Traditional Prompt
 Duo Push in Universal Prompt  Duo Push in Traditional Prompt

LastPass has already updated their hosted Duo LastPass application to support the Universal Prompt, so there's no installation effort required on your part to update the application itself. If you're setting up Duo with LastPass for the first time you the Universal Prompt experience is already activated in the Duo Admin Panel.

If you already use Duo with LastPass you need to make a configuration change in LastPass, and then log in with Duo 2FA again so that Duo makes the Universal Prompt activation setting available in the Admin Panel. This first authentication after updating the LastPass setting shows the traditional Duo prompt in a redirect instead of an iframe. After that, activate the Universal Prompt experience from the Duo Admin Panel for users of that Duo LastPass application if the traditional prompt is still selected.

Before you activate the Universal Prompt for your application, it's a good idea to read the Universal Prompt Update Guide for more information about the update process and the new login experience for users.

New LastPass Applications

When you configure Duo in LastPass for the first time, you're ready to use the Universal Prompt. If you're configuring LastPass now, proceed with the installation instructions in this document.

The "Universal Prompt" area of the application details page shows this application as "Activation complete", with these activation control options:

  • Show traditional prompt: Your users experience Duo's traditional prompt via redirect when logging in to this application.
  • Show new Universal Prompt: (Default) Your users experience the Universal Prompt via redirect when logging in to this application.

Universal Prompt Info - Universal Prompt Activation Complete

Existing LastPass Applications

You'll need to make a configuration change in LastPass to use the Universal Prompt. The "Universal Prompt" section reflects this status as "Update required" today. To update the LastPass configuration, follow the directions below.

Universal Prompt Info - Update Required

Activate Universal Prompt

Activation of the Universal Prompt is a per-application change. Activating it for one application does not change the login experience for your other Duo applications.

Once a user authenticates to the updated LastPass, the "Universal Prompt" section of the LastPass application page reflects this status as "Ready to activate", with these activation control options:

  • Show traditional prompt: Your users experience Duo's traditional prompt when logging in to this application.
  • Show new Universal Prompt: (Default) Your users experience the Universal Prompt via redirect when logging in to this application.

Universal Prompt Info - Application Ready for Universal Prompt

In addition, the "Integration key" and "Secret key" property labels for the application update to "Client ID" and "Client secret" respectively. The values for these properties remain the same.

Enable the Universal Prompt experience by selecting Show new Universal Prompt if the traditional prompt is still selected, and then scrolling to the bottom of the page to click Save.

Once you activate the Universal Prompt, the application's Universal Prompt status shows "Activation complete" here and on the Universal Prompt Update Progress report.

Universal Prompt Info - Universal Prompt Activation Complete

Should you ever want to roll back to the traditional prompt, you can return to this setting and change it back to Show traditional prompt. However, this will still deliver the Duo prompt via redirect, not in an iframe. Keep in mind that support for the traditional Duo prompt ended for the majority of applications in March 2024.

Universal Update Progress

Click the See Update Progress link to view the Universal Prompt Update Progress report. This report shows the update availability and migration progress for all your Duo applications. You can also activate the new prompt experience for multiple supported applications from the report page instead of visiting the individual details pages for each application.

Configure Duo in LastPass Teams or Business

Please see the instructions for configuring Duo as a multifactor option in LastPass Business at the LastPass support site.

Be sure to enable the Use Duo Web SDK when possible option in your multifactor authentication policy so that web and browser extension logins to LastPass use the Duo Universal Prompt.

Configure Duo in LastPass Personal Plans

Please see the instructions for configuring Duo as a multifactor option in LastPass Business at the LastPass support site.

Be sure to enable the Use Duo Web SDK when possible option in your multifactor options for Duo Security so that web and browser extension logins to LastPass use the Duo Universal Prompt.

Test Your Setup

After completing multifactor setup, you'll see a Duo two-factor authentication prompt when you log in to LastPass. Follow the instructions shown to log in.

LastPass Web Page and Browser Extension

The LastPass Duo multifactor window displays after entering your username and password. If you enabled the "Use Duo Web SDK when possible" setting, then you'll see an Authenticate button.

LastPass Duo Authentication

Clicking the Authenticate button redirects you to Duo to complete two-factor authentication. You'll return to LastPass to complete the login process after successful Duo authentication.

OIDC Duo Prompt

If you left the "Use Duo Web SDK when possible" option at the default "No" setting, then you'll see the LastPass Duo prompt and at the same time a push authentication request appears on your mobile device if you've activated Duo Mobile.

If you click the "This computer is trusted..." option then you won't be prompted for two-factor authentication again from the same browser on that device.

LastPass Browser Duo Authentication

LastPass Mobile App

The LastPass Duo multifactor window displays after entering your username and password in the LastPass for Applications login window, and at the same time a push authentication request appears on your mobile device if you've activated Duo Mobile. You may approve the Duo Push request from the same device where you are logging into the LastPass mobile app.

If you click the "Trust this device?" option then you won't be prompted for two-factor authentication again by the LastPass app on that device.

LastPass Mobile App Duo Authentication

LastPass for Applications

The LastPass for Applications program is available for Microsoft Windows only. The LastPass Duo multifactor window displays after entering your username and password in the LastPass for Applications login window, and at the same time a push authentication request appears on your mobile device if you've activated Duo Mobile.

If you click the "This computer is trusted..." option then you won't be prompted for two-factor authentication again when logging in to LastPass for Applications.

LastPass Mobile App Duo Authentication

Troubleshooting

Need some help? Reach out to Duo Support for assistance with creating the LastPass application in Duo, enrolling users in Duo, Duo policy questions, or Duo authentication approval issues. For assistance configuring or managing LastPass please contact LastPass support.