Notification

Duet AI is now Gemini for Google Workspace. Learn more

Duo cloud application

You must be signed in as a super administrator for this task.

Using Security Assertion Markup Language (SAML), your users can use their Google Cloud credentials to sign in to enterprise-cloud applications.

Set up SSO via SAML for Duo

Step 1: Get configuration information from Duo
  1. Sign in to Duo with your Admin account.
  2. In the left navigation panel, click Administrators, then Admin Login Settings.
  3. In the Metadata for Configuring with Custom Identity Provider section, copy and save these two values:
    • Entity ID or Issuer ID
    • Assertion consumer service URL or single sign-on URL

Leave Duo open in the browser, you’ll return here in Step 3 to finish SAML configuration after getting information from the Google Admin console in the next step.

Step 2: Set up Google as a SAML identity provider (IdP)
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. In the Admin console, go to Menu and then Appsand thenWeb and mobile apps.
  3. Click Add appand thenSearch for apps.
  4. Enter Duo in the search field.
  5. In the search results, hover over the Duo SAML app and click Select.
  6. On the Google Identity Provider details page:
    • Copy and save the SSO URL and Entity ID.
    • Download the Certificate.
  7. Click Continue.
  8. On the Service provider details page, replace the default Entity ID and ACS URL with the corresponding values you copied from copied from Duo in Step 1.
  9. Click Continue.
  10. (Optional) On the Attribute Mapping page, map Google directory attributes to corresponding application attributes:
    1. Click Add Mapping.
    2. Click the Select field menu and select a Google directory attribute.
    3. Enter the corresponding application attribute under App attributes.
  11. (Optional) To enter group names that are relevant for this app:
    1. For Group membership (optional), click Search for a group, enter one or more letters of the group name, and select the group name.
    2. Add additional groups as needed (maximum of 75 groups).
    3. For App attribute, enter the service provider’s corresponding groups attribute name.

    Regardless of how many group names you enter, the SAML response will include only groups that a user is a member of (directly or indirectly). For more information, go to About group membership mapping.

  12. On the Attribute mapping page, click Finish.
Step 3: Set up Duo as a SAML 2.0 service provider (SP)
  1. Return to the browser window showing Duo Admin Login Settings.
  2. In the Authentication with SAML section, choose the desired authentication option for your organization.
  3. In SAML Identity Provider Settings, choose or enter the following information:
    • Identity provider: Custom Identity Provider
    • Configuration method:  Manual Entry
    • Entity ID or issuer ID:  the Entity ID you copied from Google in Step 2 above.
    • Assertion consumer service URL or single sign-on URL: the SSO URL you copied in Step 2.
    • Certificate: the certificate you downloaded in Step 2. 
  4. In Advanced SAML options, choose the following settings:
    • SHA-1 signatures: leave unchecked.
    • Signed elements: select Only responses must be signed.
  5. Click Save.
Step 4: Enable the Duo app
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. In the Admin console, go to Menu and then Appsand thenWeb and mobile apps.
  3. Select Duo.
  4. Click User access.
  5. To turn a service on or off for everyone in your organization, click On for everyone or Off for everyone, and then click Save.

  6. (Optional) To turn a service on or off for an organizational unit:
    1. At the left, select the organizational unit.
    2. To change the Service status, select On or Off.
    3. Choose one:
      • If the Service status is set to Inherited and you want to keep the updated setting, even if the parent setting changes, click Override.
      • If the Service status is set to Overridden, either click Inherit to revert to the same setting as its parent, or click Save to keep the new setting, even if the parent setting changes.
        Note: Learn more about organizational structure.
  7. (Optional) Turn on the service for a group of users.
    Use access groups to turn on a service for specific users within or across your organizational units. Learn more

  8. Ensure that your Duo user account email IDs match those in your Google domain.
Step 5: Verify that the SSO is working

Duo supports both Identity Provider (IdP) initiated and Service Provider (SP) initiated SSO. Follow these steps to verify SSO in either mode:

IdP-initiated

  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. In the Admin console, go to Menu and then Appsand thenWeb and mobile apps.
  3. Select Duo.
  4. At the top left, click Test SAML login

    Duo should open in a separate tab. If it doesn’t, use the information in the resulting SAML error messages to update your IdP and SP settings as needed, then retest SAML login.

SP-initiated

Note: Before you can verify SP-initiated SSO for Duo, you need to request your organization’s SSO login URL from the Duo Support team.

  1. In a new browser window, go to your organization’s Duo login URL.
  2. Click Single Sign On.
  3. Enter your sign in email address and click Continue to Identity Provider. You should be automatically redirected to the Google sign-in page.
  4. Enter your Google sign in credentials.

    After your sign-in credentials are authenticated you're automatically redirected back to Duo.

 


Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.

Was this helpful?

How can we improve it?
true
Start your free 14-day trial today

Professional email, online storage, shared calendars, video meetings and more. Start your free Google Workspace trial today.

Search
Clear search
Close search
Google apps
Main menu
4636608795885137107
true
Search Help Center
true
true
true
true
true
73010
false
false