---
title: "Enabling Google Workspace SSO connections with your OVHcloud account"
description: "Learn how to associate your Google Workspace service with your OVHcloud account via SAML 2.0"
url: https://docs.ovhcloud.com/en/guides/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace
lang: en
lastUpdated: 2025-05-15
---
# Enabling Google Workspace SSO connections with your OVHcloud account

## Objective

You can use **Single Sign-On** (SSO) to sign in to your OVHcloud account. To enable these connections, your account and Google Workspace accounts have to be using SAML (_Security Assertion Markup Language_) authentication.

**This guide explains how to associate your OVHcloud account with an external Google Workspace service.**

## Requirements

- Being an administrator of a Google Workspace service
- An [OVHcloud account](/en/guides/account-and-service-management/account-information/ovhcloud-account-creation.md)


***

### OVHcloud Control Panel Access

- **Direct link:** <ManagerLink to="/#/iam/identities/sso">SAML SSO</ManagerLink>
- **Navigation path:** <code className="action">Identity, Security & Operations</code> > <code className="action">Users</code> > <code className="action">SSO connection</code>

***


## Instructions

:::info
In order for a service provider (i.e. your OVHcloud account) to establish an SSO connection with an identity provider (i.e. your Google Workspace service), the key is to establish a mutual trust relationship by registering the SSO connection in both services.

:::

### Registering OVHcloud into Google Workspace

Your Google Workspace acts as an identity provider. Requests to authenticate your OVHcloud account will only be accepted if you have first declared it as a trusted third party.

This means that it must be added as `Web and mobile apps`.

Log in to the [Google Workspace](https://admin.google.com) administration interface with your administrator account.

Go to `Apps
` then `Web and mobile apps
`.
![Add Web or mobile app](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_add_saml_app.png)
Click `Add app
` then `Add custom SAML app
`.
In the "App details" step, add a name for this interconnection, **OVHcloud**
 for example. Click `Continue
`.
![Add SAML Application, Step 1](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_add_saml_app_step1.png)
In the step "Google Identity Provider details", download the metadata file by clicking `Download metadata
` then click `Continue
`.
![Add SAML Application, Step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_add_saml_app_step2.png)
In the step "Service provider details", complete the `ACS URL` and `Entity ID` fields with the values for your region:

- EU region: **ACS URL**: `https://www.ovhcloud.com/eu/auth/saml/acs` and **Entity ID**: `https://www.ovhcloud.com/eu/auth/`
- CA region: **ACS URL**: `https://www.ovhcloud.com/ca/auth/saml/acs` and **Entity ID**: `https://www.ovhcloud.com/ca/auth/`

Click `Continue
`.
![Add SAML application, step 3](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_add_saml_app_step3.png)
In the "Attribute mapping" step, add the following mapping:

- **First Name**: Name
- **Last Name**: Surname
- **Primary email**: E-mail Address

Click `Finish
`.
![Add SAML application, step 4](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_add_saml_app_step4.png)
Enable access to this application by clicking `OFF for everyone
` in the "User access" section. Click `ON for everyone
` then the `SAVE
` button.
![Enable app for all users](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_enable_app1.png)
![Enable app for all users](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_enable_app2.png)
:::info
Adding application access to users can take several hours to take effect.

:::

Your Google Workspace service now trusts OVHcloud as a service provider. The next step is to ensure that the OVHcloud account trusts your Google Workspace as an identity provider.

### Registering Google Workspace into the OVHcloud account and configuring the connection

To add Google Workspace as a trusted identity provider, you need to provide the identity provider metadata in your OVHcloud Control Panel. Access the SAML SSO page
, then click the `SSO connection
` button.
![Access to the IAM menu](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/access_to_the_IAM_menu_03.png)
Fill in the XML metadata of your Google Workspace service. Enter `Name`
 as the "User Attribute Name" and `Group`
 as the "Group Attribute Name". Click on `Confirm
`.
You can keep local users by ticking the `Keep active OVHcloud users` box.

![OVHcloud SSO connection step 2](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_user_management_connect_sso_2.png)
Now you need to retrieve your Google Workspace as identity provider, as well as default groups.

![OVHcloud SSO connection step 3](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_user_management_connect_sso_3.png)
For more information, click on the link under “SSO Service URL”.

![OVHcloud SSO connection step 4](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_user_management_connect_sso_4.png)
The `...
` button allows you to update or delete the SSO, and view its details.
![OVHcloud SSO connection step 5](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_user_management_connect_sso_5.png)
Your Google Workspace is now considered a trusted identity provider. However, you still need to add groups to your OVHcloud account.

:::warning
If you try to connect via SSO at this point, you will probably receive a `Not in valid groups` error message.

That is because your OVHcloud account checks whether the authenticating user belongs to an existing group on the account.

:::

To resolve this, authorise the groups that will be transmitted from Google Workspace to OVHcloud. These groups are the same as those used to categorise your users.

To do this, log on to the [Google Workspace](https://admin.google.com) administration interface with your administrator account.

Go to `Apps
` then `Web and mobile apps
`.
![Manage web and mobile apps](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_add_saml_app.png)
Click on the line for the application you added in the previous step.

![List of web and mobile apps](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_list_app.png)
Click `SAML attribute mapping
` to edit the mapping of information shared between Google Workspace and OVHcloud.
![SAML Application Detail](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_show_app.png)
In the "Group membership (optional)" section, add any groups that you want to allow to connect to OVHcloud. In the "App attribute" field, enter `Group`.

You must then assign **roles** to these user groups at OVHcloud. Otherwise, your OVHcloud account does not know what the user is allowed to do and, by default, no rights are assigned.

![Configuring user groups](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/google_workspace_web_mobile_setup_groups.png)
In your OVHcloud Control Panel, go to the `Identities
` section, then the `User groups
` tab. Then click the `Declare a group
` button and fill in the fields:
- **Group name**: Group name within Google Workspace
- **Role**: Level of rights granted to this group

![Google Workspace User Management Groups](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_user_management_groups_1.png)
![Google Workspace User Management Groups](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_user_management_groups_2.png)
You can then verify that the group is added to your OVHcloud account in the "Groups" section:

![Google Workspace User Management Groups](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_user_management_groups_3.png)
When you later log in with a user from the **Intern** group, your OVHcloud account will recognise that the user has the role "UNPRIVILEGED" specified by his group.

Warning: if you give the `NONE` role, you will need to assign permissions to this group via the [IAM policies](/en/guides/account-and-service-management/account-information/iam-policy-ui.md).

You will then be able to log out of your account and log back in with your Google Workspace as an identity provider.

### Connecting via SSO

On the OVHcloud login page
, enter your [login](/en/guides/account-and-service-management/account-information/ovhcloud-account-creation.md#what-is-my-nic-handle)
 followed by **/idp**
 without a password and click the `Login
` button.
![Connection to OVHcloud federation](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_federation_login_1.png)
You are then redirected to your Google Workspace login page. Enter the login and password for a user of your Google Workspace, then click the `Sign in
` button.
![OVHcloud Federation login Redirection Google Workspace](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_federation_login_2.png)
You are now logged in with the same customer ID, but through your Google Workspace user.

![OVHcloud User Info Federation](/images/account-and-service-management/account-information/ovhcloud-account-connect-saml-google-workspace/ovhcloud_user_infos_federation.png)
## Go further

[Creating an OVHcloud account](/en/guides/account-and-service-management/account-information/ovhcloud-account-creation.md)

[Securing my OVHcloud account and managing my personal information](/en/guides/account-and-service-management/account-information/all-about-username.md)

[Setting and managing your account password](/en/guides/account-and-service-management/account-information/manage-ovh-password.md)

[Securing your OVHcloud account with two-factor authentication](/en/guides/account-and-service-management/account-information/secure-ovhcloud-account-with-2fa.md)

[How to use IAM policies using the OVHcloud Control Panel](/en/guides/account-and-service-management/account-information/iam-policy-ui.md).

Join our [community of users](https://community.ovhcloud.com/).
