Configuring Duo Single Sign-On as an identity provider

Configuring Duo Single Sign-On as an identity provider

You can use Duo Single Sign-On as an identity provider to access the SC//Nexus™ portal. To do this, create a Generic SAML Service Provider application in Duo.

SC//Nexus service provider details

The SC//Nexus portal publishes the following service provider details. The steps below show which ones Duo uses and where to enter them.

Detail Value
SC//Nexus™ portal service provider metadata (XML) https://nexus.scalecomputing.com/api/v1/saml/metadata
Assertion Consumer Service (ACS) URL https://nexus.scalecomputing.com/sso/api/oauth/saml
Entity ID / Audience URI https://nexus.scalecomputing.com/sso
Signing Certificate https://nexus.scalecomputing.com/sso/.well-known/saml.cer

Step 1: Create the Duo Cloud Application

For Duo's own steps, see Single Sign-On for Generic SAML Service Providers in the Duo documentation.

  1. Sign in to the Duo Admin Panel.
  2. From the left navigation, choose Applications, Application Catalog.
  3. Search for Generic SAML Service Provider and choose Add. On the older Duo Applications page, choose Protect an Application, locate Generic SAML Service Provider, and choose Protect instead.
  4. On the application creation screen, do the following.
    1. For Application name, specify SC//Nexus.
    2. For User access, decide whether to turn on access to this application for some or all of your Duo user accounts.
    3. In the Service Provider section, use the following settings. For any setting not listed, leave the default or consult the Duo documentation.
Setting Value
Entity ID https://nexus.scalecomputing.com/sso
Assertion Consumer Service (ACS) URL https://nexus.scalecomputing.com/sso/api/oauth/saml
Single Logout URL leave blank
Service Provider Login URL leave blank
Default RelayState leave blank
NameID Format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
NameID attribute <Email Address>
Signature algorithm SHA256
Signing options Select Sign assertion. Sign response is not required.

The SC//Nexus portal doesn't support single logout and requires only a signed assertion.

TIP: If you already set up Duo for SC//Reliant™ Platform Manager, don't copy those settings here. The SC//Reliant integration uses a logout URL and signs both the response and the assertion. The SC//Nexus portal doesn't use a logout URL and needs only a signed assertion.

Step 2: Retrieve the Duo Single Sign-On identity provider metadata

After you create the Duo application, download the SAML metadata file and send it to your Scale Computing account manager or Support to finish setup.

  1. In the Duo Admin Panel, open the SC//Nexus application you created.
  2. In the Downloads section, download the SAML Metadata file and send it to your Scale Computing account manager or Support. They add it to your SC//Nexus organization.

Step 3: Create and assign user accounts to the SAML application

To finish setup, create a user account in the Duo Admin Panel for each SC//Nexus user. Then assign each account to your SC//Nexus application. For more information, see Duo Administration - Manage Users in the Duo documentation.

Make sure the Email Address field in Duo matches the email address on the user's Scale Computing product accounts, in all lowercase.

Troubleshooting login issues when using Duo Single Sign-On as an identity provider

Issue: Receiving an "Invalid Email or password" error when logging in to the SC//Nexus portal

Possible causes: The Duo email address must match the email address on the user's Scale Computing product accounts, including case. Make sure the email address is all lowercase in the Duo application. To convert the email address to lowercase, use an attribute transformation. In the Duo application, under Attribute Transformations, select Enable User Attribute Transformations, enter the following rules, and then select Set this as my NameID attribute.

use "<Email Address>"
make_lowercase

For more information, see Attribute Transformations in the Duo documentation.