Prerequisites
- A TrueFoundry tenant with Admin access to Settings → Security & Access → SSO.
- A Google Workspace account with Super Admin privileges on
admin.google.comso you can create custom SAML apps.
Configuration overview
Create the SSO configuration in TrueFoundry
Create a custom SAML app in Google
Configure the SAML connection on both sides
Roll out and test
Step 1 — Create the SSO configuration in TrueFoundry
Open SSO settings

SSO page in TrueFoundry — click the + icon to add a new SSO configuration
Fill in the basic fields
- Enabled: turn this on.
- Name: a lowercase alphanumeric label — for example,
googleworkspacesaml. - SSO Provider: select Google.
- Authentication Configuration: choose SAML v2.
Save to reveal the Single sign-on URL, Audience URI (SP Entity ID), and Relay URL

TrueFoundry SSO configuration card showing the SAML values to copy into Google
Step 2 — Create a custom SAML app in Google
Open the Google Admin Console
Add a custom SAML app
TrueFoundry). Optionally upload an app icon, then click Continue.Continue past Google Identity Provider details
Step 3 — Enter TrueFoundry’s details into Google
On the Service Provider Details step of the wizard, paste the values from Step 1.Paste the Service Provider URLs
Set the Name ID
- Name ID format —
EMAIL. - Name ID —
Basic Information > Primary email.
Step 4 — Map directory attributes
On the Attributes step, add mappings for the claims TrueFoundry expects:Add email and sub
Finish the wizard
Step 5 — Paste Google’s IdP details into TrueFoundry
Open Google Identity Provider details
.pem file.Paste into TrueFoundry
- Identity Provider Endpoint → Google’s SSO URL.
- X.509 Certificate → the full contents of the downloaded
.pemfile, including the-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----lines.
Step 6 — Enable user access in Google
Newly-created custom SAML apps are turned OFF for the entire Workspace. You must explicitly enable the app for the users who should be able to sign in.Open User access
Turn the service ON
- Choose ON for everyone and click Save, or
- Select an organisational unit or group on the left and toggle Service status to ON for just that subset.
Step 7 — Test single sign-on
- Open a private/incognito window and visit your TrueFoundry login page.
- Click Login with Google (or whichever Button Text you chose under Show advanced fields).
- Authenticate with a Google Workspace user that the app is enabled for.
Optional next steps
- Use OIDC instead — if you don’t need SAML, the OAuth 2.0 flow against Google is simpler. Configure a Google Cloud OAuth client and switch Authentication Configuration to OIDC in TrueFoundry.
- Use a different IdP — see SAML with Microsoft Entra ID for the equivalent flow against Entra.
Troubleshooting
'Invalid Signature' or 'Could not validate SAML response'
'Invalid Signature' or 'Could not validate SAML response'
.pem from the Google Identity Provider details screen of your custom SAML app and paste the entire contents — including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines — into TrueFoundry’s X.509 Certificate field.Users see 'app_not_configured_for_user' after clicking Login with Google
Users see 'app_not_configured_for_user' after clicking Login with Google
Sign-in works but the user's email or unique ID is empty
Sign-in works but the user's email or unique ID is empty
email and sub attribute mappings weren’t saved. Edit the SAML app in Google, open Attribute mapping, and confirm Primary email maps to both email and sub (or Employee ID → sub if you use that pattern).'SAML Response is not signed' or 'Signature required'
'SAML Response is not signed' or 'Signature required'