Prerequisites
- A Google Workspace account with super admin access
- A verified custom domain on your Auth application
Configure Google Workspace SAML
1
Create a custom SAML app in Google
- Open the Google Admin Console
- Go to Apps > Web and mobile apps
- Click Add app > Add custom SAML app
- Enter an app name (e.g. “Prelude Auth”) and click Continue
- On the Google Identity Provider details screen, click Download metadata (or copy the SSO URL, Entity ID, and Certificate). Click Continue.
2
Create the SAML connection in Prelude
Create the connection from Google’s metadata. Start it disabled. You will enable it once the SP URLs are wired back into Google. If you downloaded the metadata XML, base64-encode it and pass it as Alternatively, supply the IdP values explicitly instead of the metadata XML:
idp_metadata_xml:The response contains an
sp block with the values you need next (sp.entity_id and sp.acs_url).3
Enter the SP details in Google
Back in the Google Admin Console, on the Service provider details screen:
- Set ACS URL to the
sp.acs_urlfrom the response - Set Entity ID to the
sp.entity_idfrom the response - Set Name ID format to
EMAIL - Set Name ID to Basic Information > Primary email
- Click Continue
4
Map attributes
On the Attributes screen, map Google directory fields to the attribute names Prelude expects. The Google provider defaults to snake_case names, so map:
Click Finish.
If you use different attribute names on the Google side, override them in
the connection’s
mapping block via a PUT request.5
Turn on access and enable the connection
- In Google, open User access for the app and turn it ON for the relevant organizational units.
- Enable the Prelude connection:
Delete the connection
saml:<connection_id> user identifiers are retained so historical sessions stay auditable.