Configure SAML SSO with Cisco Duo
This guide configures Duo Single Sign-On as the SAML Identity Provider (IdP) and VeloDB Cloud as the Service Provider (SP) for one VeloDB Cloud organization.
Prerequisites
Before you begin, make sure that:
- Your VeloDB Cloud organization uses the Premium plan.
- You are an Organization Admin in VeloDB Cloud.
- Duo Single Sign-On is configured with an authentication source.
- You can add and configure applications in the Duo Admin Panel.
- You can create a DNS TXT record for your corporate email domain.
- You have configured the required Duo authentication and access policies.
Keep an active Organization Admin session open while you configure and test SSO.
Start SAML setup in VeloDB Cloud
-
Sign in to VeloDB Cloud as an Organization Admin.
-
Click your profile area in the bottom-left corner of the console to open the account menu, then select Authentication.
-
Turn on SAML Single Sign-on.
-
In Add Application, copy the following values:
- Single Sign-On URL
- Service Provider Entity ID
Keep this page open while you configure Duo.
Create the Duo application
-
Sign in to the Duo Admin Panel.
-
Go to Applications → Protect an Application.
-
Search for Generic SAML Service Provider with the SSO label, and add the application.
-
In the Service Provider section, configure the following fields:
Duo field Value Entity ID The VeloDB Cloud Service Provider Entity ID Assertion Consumer Service (ACS) URL The VeloDB Cloud Single Sign-On URL Service Provider Login URL Leave blank Default Relay State Leave blank -
Configure the NameID settings:
Duo field Value NameID format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddressNameID attribute Email Address -
Add an attribute mapping from the Duo email attribute to
emailin the SAML response. -
Configure application access and Duo policies for the appropriate users or groups.
-
Save the application.
For more information, see Duo Single Sign-On for Generic SAML Service Providers in the Duo documentation.
Import Duo metadata
- In the Duo application, locate the Metadata section.
- Copy the Metadata URL.
- Return to VeloDB Cloud and continue to Configure Identity Provider.
- Paste the Duo metadata URL into Metadata URL.
- Select Verify.
- Confirm that VeloDB Cloud displays the imported IdP SSO URL and certificate.
The metadata URL must be publicly accessible over HTTPS.
Verify a domain and configure provisioning
- Continue to Verify Domain.
- Select Add Domain, and enter your corporate email domain without
@. - At your DNS provider, create a TXT record using the TXT Record Name and Record Value displayed by VeloDB Cloud.
- Wait for the DNS change to propagate, and then select Verify for the domain.
- Select the Default Role assigned to users created through JIT provisioning.
- Select a JIT Provisioning Policy.
- Select Continue.
For details about the provisioning policies, see JIT provisioning.
Test and enable SSO
- In Test SSO Login, select Test SSO Login.
- Authenticate with a Duo user who has access to the application.
- Complete Duo authentication when prompted.
- Confirm that VeloDB Cloud reports SSO Test Successful.
- Continue to Enable SSO, select Enable SSO, and complete the setup.
Enforce SSO
Before you enforce SSO, an active Organization Admin must complete a regular SAML sign-in:
- Sign out of VeloDB Cloud.
- Start a new sign-in at https://www.velodb.cloud using the Organization Admin's email address.
- Authenticate through Duo and confirm that the administrator can access the organization.
- Return to Authentication and open the SAML SSO configuration.
- Select Configure next to Enable SSO, choose Enforce SSO, and confirm the change.
Do not initiate sign-in from Duo Central or a Duo application tile. VeloDB Cloud supports Service Provider-initiated sign-in only.
When SSO is enabled but not enforced, the email sign-in page remains available for password or verification-code sign-in.
Removing a user's Duo application access does not remove an existing VeloDB Cloud organization membership. When you offboard a member, remove the member separately on the VeloDB Cloud Members page.