Skip to content
Skip to main content

Set up SAML SSO with Google Workspace

Last updated:

This guide walks through creating a custom SAML app in Google Workspace Admin Console and connecting it to your Nylas organization. Complete domain verification and the Custom SAML step before following these instructions.

You need Google Workspace Admin access.

To find these values, go to Settings > SAML SSO in the Nylas Dashboard, then expand the Connect your identity provider step. The SP values appear under Service provider details for your IdP.

Nylas SP valueWhere to paste it in your IdP
Metadata URLImport metadata URL (if your IdP supports it; this imports SP Entity ID and ACS URL automatically)
SP Entity IDAudience URI, Audience Restriction, or Identifier (Entity ID)
ACS URLSingle sign-on URL, Reply URL, or Assertion Consumer Service URL
  1. Go to the Google Workspace Admin Console and sign in as an admin.
  2. Navigate to Apps > Web and mobile apps.
  3. Click Add app > Add custom SAML app.
  4. Enter an app name (for example, Nylas Dashboard) and click Continue.
  5. On the Google Identity Provider details screen, click Download metadata to save the IdP metadata XML file. You will paste this into Nylas later. Click Continue.
  6. On the Service provider details screen, fill in the SP values from your Nylas Dashboard (Connect your identity provider step):
    • ACS URL: paste the ACS URL.
    • Entity ID: paste the SP Entity ID.
    • Leave Start URL empty.
    • Set Name ID format to EMAIL.
    • Set Name ID to Basic Information > Primary email.
  7. Under Signed response, leave this OFF. Nylas validates only the Assertion signature, not the outer Response envelope. Turning it on is the most common misconfiguration that causes login failures.
  8. Click Continue, then Finish.

Google Workspace SAML apps are off by default. Users must be assigned before they can sign in.

  1. In the Admin Console, open the app you just created.
  2. Click User access.
  3. Turn the service On for the relevant organizational unit (OU) or for all users. Alternatively, use Groups to assign specific groups.
  4. Click Save.
  1. Back in the Nylas Dashboard (Connect your identity provider step), open the Identity provider metadata section.
  2. Paste the metadata XML file you downloaded in step 5 above into the IdP Metadata XML field, or click Upload XML file.
  3. Click Save configuration.

The Connected IdP card confirms the saved SSO URL and entity ID.

  1. Open a private browser window.
  2. Go to the Nylas Dashboard login page.
  3. Enter an email on your verified domain and click Continue.
  4. You should be redirected to the Google sign-in page.
  5. Sign in with the Google Workspace account and confirm you land in the Dashboard.

If login fails, see Troubleshooting.

“App not assigned” error in Google: The signed-in Google account is not assigned to the SAML app. Go to Admin Console > the app > User access and assign the user or their OU.

Email/domain mismatch: The user’s Google Workspace email, the domain claimed in Nylas, and the email entered on the Nylas login page must all match exactly. For example, if you claimed company.com, the Google account must be [email protected].

Certificate rotation: When Google rotates the IdP signing certificate, existing sessions continue to work but new logins fail with a signature error. To fix it: download fresh metadata XML from the Admin Console and re-paste it in the Nylas Dashboard wizard.

No built-in SCIM: Google Workspace does not expose a native SCIM endpoint for custom SAML apps. Automatic user provisioning from Google requires a third-party relay (such as Okta sitting in front of Google) or manual account management. SAML SSO login and JIT provisioning work without SCIM.