RudderStack does not support IdP-initiated authentication. Make sure the users log in through https://app.rudderstack.com/sso.
As this is a JIT (Just In Time) provisioning-only integration, RudderStack does not support SCIM with Google Workspace.
User deletions are not propagated from Google Workspace to RudderStack. When you remove a user in Google Workspace, you must also delete them manually in RudderStack to revoke their access.
Enter the App name (for example, RudderStack), optionally upload an icon, and click Continue.
Step 2: Share the IdP metadata with RudderStack
On the Google Identity Provider details page, click Download Metadata to download the IdP metadata file. Alternatively, copy the SSO URL and Entity ID and download the Certificate.
Share the downloaded metadata file (or the SSO URL, Entity ID, and certificate) with the RudderStack team to enable SSO for your organization.
While sharing the metadata, also let the RudderStack team know:
Which workspace you would like to set as the default workspace for your organization. New users who sign in through SSO for the first time will automatically land in this workspace.
Whether you want RudderStack to also create a personal organization for each new SSO user. This is off by default.
You can also opt out of setting up a default workspace altogether if you don’t want your SSO users to get automatic access to a shared workspace.
Click Continue.
Step 3: Set up the service provider details
On the Service Provider Details page, enter the following information:
Replace <YOUR_EMAIL_DOMAIN> with your organization’s email domain. For example, if your employee email is alex@example.com, then set the Start URL to https://app.rudderstack.com/sso?domain=example.com.
Specify only a single email domain for the <YOUR_EMAIL_DOMAIN> parameter — no comma-separated list or array of domains is allowed.
Name ID format
EMAIL
Name ID
Go to Basic Information > Primary email
Step 4: Configure attribute mapping
On the Attribute mapping page, map the following Google Directory attributes to the app attributes that RudderStack expects:
Google Directory attribute
App attribute
Primary email
Email
Last name
LastName
Your SSO authentication will fail if these mandatory attributes are not mapped correctly.
Step 5: Turn on the app
In the Web and mobile apps list, select your newly created RudderStack SAML app.
Click User access.
Turn the Service statusON for everyone (or for the specific organizational units that should access RudderStack), and click Save.
Make sure the email addresses your users use to sign in to RudderStack match the email addresses they use to sign in to your Google Workspace domain.
Enable SSO login
RudderStack does not support IdP-initiated authentication. Make sure the users log in through https://app.rudderstack.com/sso.
Debugging
There are times when an SSO login might fail for some users due to some reason. In such cases, the RudderStack team requires a HAR (HTTP Archive) file to inspect the requests and identify any SSO-related issues.
A HAR file is a log of exported network requests from the user’s browser. See the HAR Analyzer guide for steps on generating this file depending on your browser.
Once you generate the HAR file, share it with the RudderStack team to troubleshoot the issue.
Note the following before capturing your HAR file:
Start from https://app.rudderstack.com/sso with a clean session, preferably in incognito mode of your browser.
Complete the SSO flow until the step where you face an error.
Your HAR file might contain sensitive data - make sure to redact it using a text editor before sharing it with the team.
The following sections contain solutions for some common errors you might encounter while setting up SSO:
Invalid samlResponse or relayState from identity provider
RudderStack recommends initiating the SSO authentication by following all the above SSO configuration steps correctly and making sure the users log in through https://app.rudderstack.com/sso.
Required String parameter ‘RelayState’ is not present
The above error indicates that you did not set up your SSO app correctly. Make sure to:
Set the Entity ID field to urn:amazon:cognito:sp:us-east-1_ABZiTjXia.
Set the Name ID format to EMAIL and the Name ID to Primary email.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.