> 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-okta.md).

# SAML SSO with Okta

Configure SAML SSO and SCIM with Okta

This guide connects Okta to Screendesk so your team signs in with Okta.

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

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

***

### Step 1: Create a SAML app in Okta

{% stepper %}
{% step %}

#### Create the app integration

In the Okta Admin Console, go to **Applications → Applications** and click **Create App Integration**. Select **SAML 2.0** and click **Next**.
{% endstep %}

{% step %}

#### Name it

Enter **Screendesk** as the app name and click **Next**.
{% endstep %}

{% step %}

#### Configure SAML

| Okta field                                         | Value                                                                                                                |
| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| **Single sign-on URL**                             | `https://app.screendesk.io/saml_callback`                                                                            |
| **Use this for Recipient URL and Destination URL** | Checked                                                                                                              |
| **Audience URI (SP Entity ID)**                    | `urn:screendesk.io:saml`                                                                                             |
| **Default RelayState**                             | The **Default relay state** from Screendesk, if people will start from the Okta dashboard. Otherwise leave it blank. |
| **Name ID format**                                 | **EmailAddress**                                                                                                     |
| **Application username**                           | **Email**                                                                                                            |

**Attribute Statements** (optional, they name new accounts):

| Name         | Name format | Value            |
| ------------ | ----------- | ---------------- |
| `email`      | Unspecified | `user.email`     |
| `first_name` | Unspecified | `user.firstName` |
| `last_name`  | Unspecified | `user.lastName`  |

Click **Next**, choose **I'm an Okta customer adding an internal app**, then **Finish**.
{% endstep %}

{% step %}

#### Copy Okta's details

On the **Sign On** tab, click **View SAML setup instructions**. Keep these three values:

* **Identity Provider Single Sign-On URL**
* **Identity Provider Issuer**
* **X.509 Certificate** (or download the certificate)
  {% endstep %}

{% step %}

#### Assign people

On the **Assignments** tab, assign the people or groups who should use Screendesk. Only assigned people can sign in.
{% endstep %}
{% endstepper %}

***

### Step 2: Connect Okta in Screendesk

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

| Screendesk field                | From Okta                                                                                               |
| ------------------------------- | ------------------------------------------------------------------------------------------------------- |
| **Email domain**                | Your company's email domain, such as `yourcompany.com`                                                  |
| **Sign-on URL**                 | Identity Provider Single Sign-On URL                                                                    |
| **Identity provider entity ID** | Identity Provider Issuer                                                                                |
| **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

* In Okta, use **Test SAML login** on the app's **General** tab, or
* open the **Sign-in link** from Screendesk's settings in a private window.

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

***

### Optional: SCIM provisioning

{% stepper %}
{% step %}

#### Turn on SCIM

On the app's **General** tab, click **Edit**, set **Provisioning** to **SCIM** and save.
{% endstep %}

{% step %}

#### Configure the connection

On the **Provisioning** tab, under **SCIM Connection**:

| Okta field                            | Value                                                             |
| ------------------------------------- | ----------------------------------------------------------------- |
| **SCIM connector base URL**           | `https://app.screendesk.io/api/v2/scim`                           |
| **Unique identifier field for users** | `userName`                                                        |
| **Supported provisioning actions**    | Push New Users, Push Profile Updates                              |
| **Authentication Mode**               | HTTP Header                                                       |
| **Authorization**                     | The **Bearer token** from Screendesk's SCIM provisioning settings |

Click **Test Connector Configuration**, then **Save**.
{% endstep %}

{% step %}

#### Choose what Okta sends

Under **Provisioning → To App**, turn on **Create Users** and **Update User Attributes**.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
Okta deactivates people with a `PATCH` request, which Screendesk doesn't support yet, and group push isn't supported either. When someone leaves, also remove them in **Settings → Members**.
{% endhint %}

To set a role, send a `roles` attribute with `admin`, `editor` or `member` set to true. Without it, people join as members.

***

### Troubleshooting

<details>

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

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

* the certificate in Screendesk is Okta's active signing certificate, pasted in full;
* the **Single sign-on URL** is exactly `https://app.screendesk.io/saml_callback`;
* the **Audience URI** is exactly `urn:screendesk.io:saml`.

</details>

<details>

<summary>Okta says the app isn't assigned</summary>

Assign the person, or a group they're in, on the app's **Assignments** tab.

</details>

<details>

<summary>SCIM provisioning fails</summary>

* The base URL is `https://app.screendesk.io/api/v2/scim`, without `/Users`.
* **Authentication Mode** is **HTTP Header** and the token matches the one in Screendesk.

</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 provision the person with SCIM 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-okta.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.
