Set up Enterprise SSO with Google Workspace
This guide connects Google Workspace to Devs.ai using SAML 2.0, with Google acting as your identity provider. When you are done, anyone with an email address at your domain signs in with their Google work account instead of a Devs.ai password.
📝 Note: Enterprise SSO is an enterprise feature and is not enabled by default. To turn it on for your organization, reach out to your Devs.ai representative.
📝 Not the same as "Sign in with Google": This is a full SAML connection managed by your Workspace administrators, with domain-based routing and centrally controlled access. It is different from a member choosing Google as a personal sign-in option.
You will need: edit access to Organization Settings in Devs.ai, a Google Workspace super administrator account, and the list of email domains to route through Google. See the overview for the full prerequisites.
Step 1 — Create the connection in Devs.ai
- Go to Organization Settings and select Enterprise SSO (https://devs.ai/org-enterprise-sso).
- Select Add Connection.
- Enter a Connection Name, for example
Google Workspace SSO. - Set Identity Provider to Google Workspace. This cannot be changed later.
- Under Domains, add each email domain you want routed through Google, for example
acme.com. Press Enter or type a comma after each one. - Leave the identity provider fields empty for now — you will fill them in at Step 5 — and select Create Connection.
Step 2 — Copy the service provider values
Open the connection you just created and find the Service Provider Configuration section. Copy these two values; each has a copy button:
- ACS URL
- SP Entity ID
Keep this page open in a second tab.
Step 3 — Create the custom SAML app in Google
- In the Google Admin console, go to Menu → Apps → Web and mobile apps.
- Select Add app → Add custom SAML app.
- Enter an App name, for example
Devs.ai. Optionally upload an icon, then select Continue. - On the Google Identity Provider details page, select Download metadata and save the XML file. You will upload it to Devs.ai in Step 5. Select Continue.
- On the Service Provider Details page, enter:
| Google field | Value |
|---|---|
| ACS URL | The ACS URL from Step 2 |
| Entity ID | The SP Entity ID from Step 2 |
| Name ID format | EMAIL |
| Name ID | Basic Information → Primary email |
Leave Start URL empty. Select Continue.
- On the Attributes page, select Add mapping once per row and create these four mappings. The app attribute names must match exactly — they are the claim names Devs.ai expects by default.
| Google directory attribute | App attribute |
|---|---|
| Basic Information → Primary email | mail |
| Basic Information → Primary email | id |
| Basic Information → First name | firstName |
| Basic Information → Last name | lastName |
Google's custom SAML wizard does not expose an internal directory identifier, so mapping Primary email to id is the usual pattern. If your organization populates Employee ID for every user, you can map that to id instead for an identifier that survives an email change.
- Select Finish.
Step 4 — Turn the app on for your users
In the Google Admin console, open your new SAML app and set User access to ON for everyone, or turn it on for the specific organizational units or groups that should have access. Anyone the app is off for cannot sign in, even if their email domain matches your connection.
Google notes that access changes can take up to 24 hours to propagate, though they are usually much faster.
Step 5 — Send the Google details back to Devs.ai
Google provides its metadata as a downloadable file rather than a hosted URL, so use the XML upload:
- On the Devs.ai connection page, under Identity Provider Configuration, find Federation Metadata XML.
- Select Upload file and choose the metadata XML you downloaded in Step 3.
- Select Save Changes.
If you prefer to enter the values manually, select Use manual configuration and take these from the Google Identity Provider details page — you can reopen it from the app's Service provider details screen:
| Devs.ai field | Google value |
|---|---|
| Login URL | SSO URL |
| Issuer | Entity ID |
| Certificate (Base64) | Certificate — download it from Google and use Upload file |
Step 6 — Test and enable
- On the Devs.ai connection page, confirm the header shows the Active badge. If it shows Inactive, select Enable.
- Have one administrator sign out and sign back in with their work email address. They should be redirected to Google.
- After signing in, check that their name and email are correct in Devs.ai. If a name is missing, revisit the attribute mappings in Step 3.
- Once the test passes, announce the change and roll out to the rest of your organization.
Google-specific troubleshooting
"App not found" or Google says the app is not enabled for the user The SAML app is off for that user's organizational unit. Turn it on under User access, then wait for the change to propagate.
Google rejects the ACS URL
Google requires the ACS URL to start with https://. Copy it again from the connection page with the copy button rather than retyping it.
Sign-in works but names are missing
The attribute mappings were not saved, or the app attribute names do not match. Reopen Attribute mapping in Google and confirm mail, id, firstName, and lastName are all present, spelled exactly that way. Names are case-sensitive.
A member's email address does not match their Devs.ai account Google sends the primary email address. If members use an alias to sign in elsewhere, they still need to use their Google primary email here.
Sign-in broke after rotating the Google certificate If you configured the connection manually, upload the new certificate to Certificate (Base64). If you used the metadata XML, download the new metadata from Google and upload it again — a file upload is a snapshot, so it does not update on its own.
Related topics
- Enterprise SSO overview — how connections work, managing them, and limitations.
- Two-step verification — how 2FA interacts with SSO.
- User permissions — who can change organization settings.