Configuring SAML SSO with Google Workspace

For Dub Enterprise users, you can securely manage your team's access to Dub using Google Workspace SAML SSO.

Steven Tey

Written by Steven Tey

This feature is only available on Dub Enterprise.

For Dub Enterprise users, you can securely manage your team's access to Dub using Google Workspace SAML SSO.

Step 1: Create SAML Integration

In your Google Admin dashboard, click on Apps in the sidebar and select Web and mobile apps from the list.

Apps > Web and mobile apps on the Google Admin Dashboard

If you don't already have an existing SAML application, click on Add app and select Add custom SAML app from the dropdown menu.

Create App on the Google Admin Dashboard

Enter the *App name** for your application, and click **Continue**.

Configuring SAML app name on the Google Admin Dashboard

In the next screen, click Download Metadata to download the metadata XML file and click Continue. You'll need this file in Step 3.

Downloading SAML metadata on the Google Admin Dashboard

Copy the following values and paste them under Service provider details:

ACS URL

https://api.dub.co/auth/saml/callback

Entity ID

https://saml.dub.co

Service provider details on the Google Admin Dashboard

Click Next to proceed to the next step.

Step 2: Configure Attribute Mapping

On the next screen, under the Attributes section, click Add Mapping and add the following attribute mappings:

Google Directory attributesApp attributes
Primary emailemail
First namefirstName
Last namelastName
Attribute Mapping on the Google Admin Dashboard

Once that's done, click Finish.

On the next screen, click User access to configure the application to allow users to log in.

User access on the Google Admin Dashboard

Check the ON for everyone checkbox and click Save.

Turn on access for everyone on the Google Admin Dashboard

This will allow users in your Google Workspace to automatically sign in to Dub with Google SAML SSO.

You can now return to the Dub dashboard to complete the SAML SSO configuration.

Step 3: Configure SAML SSO on Dub

In your project dashboard on Dub, click on the Settings tab in the menu bar at the top. Then, click on the Security tab in the sidebar.

SAML SSO section on the Dub Dashboard

Under the SAML Single Sign-On section, click on Configure. This will open up the SAML SSO modal:

  1. Select Google as the SAML provider.
  2. Upload the metadata XML file you downloaded in Step 1.
  3. Click Save changes.
Google SAML SSO Modal

That's it! You're all set – your team can now sign in to Dub using Google SAML SSO.

Did this answer your question?