Configure the app in Google Workspace
In the Google Admin console, go to Apps → Web and mobile apps.
Click Add app → Add custom SAML app.
Enter
TrustLayeras the app name. Complete the remaining information with a description and an image to easily identify the app, then click Continue.On the Google Identity Provider details screen, copy the SSO URL and Entity ID, and download the Certificate — you will need these in TrustLayer.
Fill in the Service provider details:
ACS URL →
https://auth.trustlayer.io/__/auth/handlerEntity ID →
trustlayer.ioName ID format → EMAIL
Name ID → Basic Information > Primary email
In SAML attribute mapping, map the Google Directory attributes to the app attributes as follows:
Google Directory attribute | App attribute |
First name |
|
Last name |
|
Finish the wizard, then turn the app ON for everyone (or for the organizational units that should have access) under User access.
Create the configuration in TrustLayer
In TrustLayer, go to Settings → Single Sign-On (visible to workspace Owners) and click Create configuration.
Select SAML 2.0 and fill in:
Entity ID → the Entity ID copied in step 4
Single sign-on URL → the SSO URL copied in step 4
Certificate → the contents of the certificate downloaded in step 4
Domains → the email domain(s) you want SAML login for (e.g.
yourdomain.com)
Save, then verify each domain by adding the DNS TXT record shown on the page (record name
@) and clicking Verify. DNS changes can take up to 48 hours to propagate.Once at least one domain is verified, go to the Activation card on the same page and click Turn on single sign-on. Verifying a domain proves that you own it; it does not switch single sign-on on by itself.
From then on, all users with emails on your activated domains will be redirected to Google when they log in, and will be able to access TrustLayer if they have the app assigned. See Setting Up SSO (Single Sign-On) for how to add domains later or turn single sign-on off again.
