> ## Documentation Index
> Fetch the complete documentation index at: https://help.allthenticate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up SAML single sign-on for Google Workspace

> Make Allthenticate the third-party SAML identity provider for Google Workspace so employees sign in to Gmail and other Google services from their phone.

Everyone the SSO profile applies to can also use Allthenticate features such as [proximity login](https://help.allthenticate.com/help/features/proximity-login.md).

## Before you start

* Admin access to the Allthenticate admin portal.
* Admin access to the Google Admin console.
* Users who will sign in have the Allthenticator app set up, with the same email address as their Google account.

## Configure in Google Workspace

**1. Add a SAML profile**

In the Google Admin console, go to **Security** > **Authentication** > **SSO with third party IdP** and select **ADD SAML PROFILE** in the upper right.

![Google Admin console sidebar with Security, Authentication expanded and SSO with third party selected](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/google-workspace/sso-with-third-party.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=813b4c12f949a749e11fcd5c7418bc78)

Security > Authentication > SSO with third party IdP

![Third-party SSO profiles section with ADD OIDC PROFILE and ADD SAML PROFILE buttons](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/google-workspace/add-saml-profile.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=fdf939441b16566266d2fad2a2ab1805)

ADD SAML PROFILE in the upper right

**2. Enter Allthenticate's details**

| Google field | Value |
| - | - |
| **IDP entity ID** | `https://saml.allthenticate.com/idpmetadata` |
| **Sign-in page URL** | `https://saml.allthenticate.com/ssoentry` |
| **Sign-out page URL** | `https://saml.allthenticate.com/logout` |

Under **Verification certificate**, upload Allthenticate's public certificate. To get it, open any SAML service provider in the Allthenticate admin portal and select **Download Public Key**, which saves `Allthenticate-Public.crt`. If you have no SAML service provider yet, add Google in Allthenticate first (see [Configure in Allthenticate](#configure-in-allthenticate)), then come back and upload the certificate.

![Google SAML SSO profile named Allthenticate, showing SP details with Entity ID and ACS URL, and IDP details with IDP entity ID https://saml.allthenticate.com/idpmetadata, sign-in page URL https://saml.allthenticate.com/ssoentry and sign-out page URL https://saml.allthenticate.com/logout](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/google-workspace/saml-profile-idp-details.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=91da5821af73ca71ec9191162cee8369)

A saved SAML SSO profile. The IDP details hold Allthenticate's values.

**3. Generate the service provider certificate**

Open **SP details** and select **GENERATE CERTIFICATE**, then **SAVE**.

**4. Note Google's service provider details**

From **SP details**, copy the **Entity ID** and **ACS URL**. You enter them in Allthenticate next.

![Google SP details showing the Entity ID and ACS URL with copy buttons, an SP certificate, the GENERATE ANOTHER CERTIFICATE button, Autofill email options and the SAVE button](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/google-workspace/sp-details.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=5677ef3cd048aa9e80aad913a43cd0be)

SP details after generating a certificate. Your Entity ID and ACS URL end in your own ID.

**5. Assign the profile**

Assign the SSO profile to your organization, or to the organizational units and groups that should sign in with Allthenticate. See Google's guide to [assigning SSO profiles](https://knowledge.workspace.google.com/admin/apps/setting-up-sso#assign_profile).

![Manage SSO profile assignments with Allthenticate - SAML selected and the option to have Google prompt for the username, then redirect to the profile's IDP sign-in page](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/google-workspace/assign-profile.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=e604212a5025907bbc52517a6879e3b1)

Assign the Allthenticate SAML profile to an organizational unit or group.

## Configure in Allthenticate

**1. Add Google as a service provider**

In the admin portal, go to **SSO** > **SAML** and select **Add Service Provider**. Enter `Google Workspace` as the **Provider Name**.

**2. Enter Google's details**

Uncheck **Use Metadata File**, then enter the **Entity ID** and **ACS URL** you copied from Google. The [SAML setup guide](https://help.allthenticate.com/help/sso/saml.md#register-the-service-provider-in-allthenticate) shows the dialog with **Use Metadata File** unchecked.

**3. Save**

Select **Save**. A confirmation shows that the service provider was added.

## Test sign-in

1. Open a private or incognito browser window and go to a Google service, for example `mail.google.com`.
2. Enter your email address. Google redirects you to Allthenticate.
3. Approve the request on your phone.
4. You land in Gmail, signed in.

If sign-in fails, check that the profile is assigned to your organizational unit, then see [SAML troubleshooting](https://help.allthenticate.com/help/sso/saml.md#troubleshooting).

## Related

* [Set up Allthenticate as a SAML identity provider](https://help.allthenticate.com/help/sso/saml.md)
* [Single sign-on overview](https://help.allthenticate.com/help/sso/overview.md)
* [Google: Setting up SSO](https://knowledge.workspace.google.com/admin/apps/setting-up-sso)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.