> For the complete documentation index, see [llms.txt](https://docs.screendesk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.screendesk.io/security/saml-sso/saml-sso-with-google-workspace.md).

# SAML SSO with Google Workspace

Configure SAML SSO with Google Workspace

This guide connects Google Workspace to Screendesk so your team signs in with their Google account.

{% embed url="<https://app.screendesk.io/recordings/2b47e26a-23b1-46b2-91c2-422b44ef19a5>" %}

{% hint style="info" %}
**Plans:** Enterprise. You need admin access to the **Google Admin console** and to your Screendesk workspace. Keep **Settings → Sign-in & SSO** open in Screendesk for the values below.
{% endhint %}

***

### Step 1: Create a custom SAML app in Google

{% stepper %}
{% step %}

#### Add the app

At [admin.google.com](https://admin.google.com), go to **Apps → Web and mobile apps** and click **Add app → Add custom SAML app**. Name it **Screendesk** and click **Continue**.
{% endstep %}

{% step %}

#### Copy Google's details

On **Google Identity Provider details**, keep:

* **SSO URL**
* **Entity ID**
* **Certificate**: click **Download Certificate**

Click **Continue**.
{% endstep %}

{% step %}

#### Enter Screendesk's details

| Google field       | Value                                     |
| ------------------ | ----------------------------------------- |
| **ACS URL**        | `https://app.screendesk.io/saml_callback` |
| **Entity ID**      | `urn:screendesk.io:saml`                  |
| **Start URL**      | Leave blank                               |
| **Name ID format** | **EMAIL**                                 |
| **Name ID**        | **Basic Information → Primary email**     |

Click **Continue**.
{% endstep %}

{% step %}

#### Map attributes (optional)

They name the accounts created at first sign-in.

| Google Directory attribute | App attribute |
| -------------------------- | ------------- |
| **Primary email**          | `email`       |
| **First name**             | `first_name`  |
| **Last name**              | `last_name`   |

Click **Finish**.
{% endstep %}

{% step %}

#### Turn the app on

A new app is off for everyone. Open **User access**, choose **ON for everyone** or the organizational units that should use Screendesk, and save. Google can take a few minutes, sometimes up to 24 hours, to apply it.
{% endstep %}
{% endstepper %}

***

### Step 2: Connect Google in Screendesk

In **Settings → Sign-in & SSO**, click **Connect identity provider** and fill in:

| Screendesk field                | From Google                                                                                             |
| ------------------------------- | ------------------------------------------------------------------------------------------------------- |
| **Email domain**                | Your company's email domain, such as `yourcompany.com`                                                  |
| **Sign-on URL**                 | SSO URL                                                                                                 |
| **Identity provider entity ID** | Entity ID                                                                                               |
| **X.509 certificate**           | The certificate text, including the `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----` lines |

Save it.

<figure><img src="https://3820804400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfW6XSzJSKsNyZnOkSJPt%2Fuploads%2FV0rb8uuDXlvxa36X441F%2Fdocs-dialog-sso-connect.png?alt=media" alt="Connect your identity provider in Screendesk"><figcaption></figcaption></figure>

***

### Step 3: Test

Open the **Sign-in link** from Screendesk's settings in a private window, or choose **Use Single Sign-On**, then **Continue with SAML**, on the sign-in page and enter an address at your domain. Sign in with Google and you should land in Screendesk.

Once it works, you can turn on **Enforce SAML SSO**. See [Sign-in and SSO](https://docs.screendesk.io/security/saml-sso.md).

***

### Troubleshooting

<details>

<summary>"SAML Authentication failed"</summary>

Screendesk couldn't verify Google's signature. Check that:

* the certificate in Screendesk is the one downloaded from Google, pasted in full;
* the **ACS URL** is exactly `https://app.screendesk.io/saml_callback`;
* the **Entity ID** is exactly `urn:screendesk.io:saml`.

</details>

<details>

<summary>"No SAML SSO enabled account could be found"</summary>

No workspace has SAML set up for that address's domain. Check that the **Email domain** in Screendesk is the part after the @, such as `yourcompany.com`.

</details>

<details>

<summary>Redirected to Google but not signed in</summary>

Set **Name ID format** to **EMAIL** and **Name ID** to **Primary email**. Screendesk identifies people by their email.

</details>

<details>

<summary>"Ask your IT administrator to provision an account for you"</summary>

**Create accounts at first sign-in** is off in Screendesk. Turn it on, or invite the person first.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.screendesk.io/security/saml-sso/saml-sso-with-google-workspace.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
