Set up SSO for the MCP gateway with Google Workspace
Add a custom SAML app in the Google Admin console, enter Metorial’s ACS URL and Entity ID, map email and name, add group membership, and upload the metadata.
To set up SSO with Google Workspace, open the Google Admin console, go to Apps, Web and mobile apps, and select Add custom SAML app. Download the metadata, enter Metorial's ACS URL and Entity ID, map email, firstName, lastName and group membership as groups, turn the app on under User access, and upload the metadata in Metorial's Add SAML Connection panel. Metorial has no SCIM directory type for Google Workspace, so groups arrive at sign-in.
What you'll learn
- How to create the custom SAML app in Google Workspace
- How to send Google groups to Metorial
- What the missing SCIM option means for offboarding
Before you start
- Admin access to Metorial's Enterprise Admin
- A super administrator account in Google Workspace
- Access to your company domain's DNS settings
- A plan that includes SSO, see pricing
1. Start in Metorial
Verify your domain
In Enterprise Admin, open Security, Authentication. Under SSO Domains, select Add Domain and add the DNS TXT record Metorial shows.
Start the SAML connection
Under SSO Connections, select Add SAML Connection and choose Google Workspace. Keep the panel open. It shows Entity ID and Reply URL (ACS URL).
2. Create the SAML app in Google Workspace
Add the app
In the Google Admin console, go to Apps, Web and mobile apps. Select Add custom SAML app, enter an App name, and select Continue.
Download the metadata
Select DOWNLOAD METADATA to save the metadata XML file, then select Continue.
Enter the service provider details
In Service provider details, enter:
| Google field | Value |
|---|---|
| ACS URL | The Reply URL (ACS URL) from Metorial |
| Entity ID | The Entity ID from Metorial |
The default Name ID is the primary email. Select Continue.
Map attributes
In Attributes, add these mappings:
| Google directory attribute | App attribute |
|---|---|
| Primary email | email |
| First name | firstName |
| Last name | lastName |
Add group membership
Under Group membership (optional), select Search for a group and add each Google group that should decide access in Metorial. You can add up to 75 groups. For App attribute, enter groups. The SAML response includes only the groups the person is a member of. Select Finish.
Turn the app on
Open the app, select User access, choose ON for everyone or turn it on for the organizational units that should use Metorial, and select Save. Google notes that changes can take up to 24 hours but usually apply sooner.
3. Finish in Metorial
In the Add SAML Connection panel, enter a Name, set Metadata source to Metadata XML, paste the contents of the downloaded file, and select Add Connection.
Check it worked
On the connection in Metorial, select Try this connection under Test SSO Connection. The test result lists the name, email and Groups Google returned. In the Google Admin console, Test SAML login on the app runs the same check from Google's side.
A person signs in from the terminal and checks the groups Metorial received:
Troubleshooting
Google shows an access error for the app
The app stays blocked until User access is turned on for the person's organizational unit.
Sign-in fails right after setup
The ACS URL and Entity ID must match Metorial's values exactly, with no trailing slash.
Offboarding without SCIM
Metorial's SCIM directory providers are Microsoft Entra ID, Okta, OneLogin, JumpCloud and generic SCIM v2.0. There is no Google Workspace directory type, so accounts and groups come from SAML sign-ins, and a group change in Google reaches Metorial the next time the person signs in.
When someone leaves, suspend their Google account and delete their profile in the portal under Identity, Accounts, Settings, Delete Profile.
Next steps
- Map directory groups to tool access: turn Google groups into access groups
- Offboard a user: the manual steps in full
- SSO and SCIM overview: the other supported identity providers