# SSO using Okta

{% hint style="success" %}
You need Admin access to your Okta Organisation and DinMo Organisation to be able to use the Okta SSO.
{% endhint %}

### In the Okta Dashboard

#### Step 1: Create a custom SAML application for DinMo

1. Sign in your Okta account as an admin

2. Go to the **applications dashboard**<br>

   <figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FW3b5QPPUUrsjWjqd59tD%2Fimage%20(75).png?alt=media&#x26;token=57d3aea5-3440-433c-b4c8-cfa2aad4004a" alt="" width="563"><figcaption></figcaption></figure>

3. Click "**Create app integration**"&#x20;

4. Choose **SAML 2.0** app from the suggested options

5. Enter your **general settings**: name, logo, visibility <br>

   <figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2F26QKbjgcspKyPrh7HZdY%2Fimage.png?alt=media&#x26;token=6a3261aa-d974-4c5f-96fc-cb5e2d03cb49" alt="" width="563"><figcaption></figcaption></figure>

6. Click Next, and enter your **SAML settings**: single-sign-on URL, Audience URI, Name ID format, "Application username" and "Update application username on".\ <br>

   <figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FlyPsgJUKVa0AV2gR8WBb%2FCleanShot%202025-09-22%20at%2017.24.43%402x.png?alt=media&#x26;token=6726c356-6805-43f4-a8c8-ed996b530cf1" alt="" width="563"><figcaption></figcaption></figure>

   \
   Make sure to enter these parameters:&#x20;

| **Name ID format**                 | EmailAddress      |
| ---------------------------------- | ----------------- |
| **Application username**           | Email             |
| **Update application username on** | Create and update |

7. Enter your **attribute statements**\
   \
   At this step, an `email-to-user.email` statement is required\ <br>

   <figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FXbAWU2sOTxzD1cbJfgmt%2Fimage.png?alt=media&#x26;token=5f4f9615-30af-49ee-8216-2e8f207e15f9" alt="" width="563"><figcaption></figcaption></figure>

#### Step 2: Assign people to your SAML app

To enable a user to use the newly created application, you must add it in the **Assignments** tab under the Applications / Your application menu.

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FxnKGRBbi4t8Ih8dFRnY1%2Fimage%20(76).png?alt=media&#x26;token=3ec40957-808b-485c-9681-2c4f0472866f" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
The key point here is that you must specify the **user's email address** as suggested by Okta as the username.
{% endhint %}

### In the DinMo Application

#### Step 3: Configure Okta SSO in DinMo

1. Sign in to your [DinMo workspace](https://app.dinmo.io) as an organization admin
2. Go to your organization management space

* Click on your workspace name in the top left navigation menu.
* Select **Manage Workspaces**.

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FqSzwsBm30RiB0rd4Ml5v%2FCleanShot%202025-09-22%20at%2017.13.52%402x.png?alt=media&#x26;token=a5fcf4eb-02fc-4ac5-9212-a771a735cec5" alt="" width="222"><figcaption></figcaption></figure>

* Go to the **Organization Settings** tab.

3. Click on **Okta SSO** button<br>

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FQoy6gLgATUMNn55COUJG%2Fimage.png?alt=media&#x26;token=ac0a859a-0258-47ae-a536-66274c92f0ea" alt="" width="563"><figcaption></figcaption></figure>

4. Fill in the Authentification Settings:

* **SSO Portal Key**: Choose a unique key to identify your SSO organization (e.g., `<company-name>_SSO`).

{% hint style="danger" %}
**The key must be kept safe and shared with your teams**. It allows you to log in to your DinMo account, either by using a URL such as <https://app.dinmo.io/sso?key=dinmo> or by entering it in the field provided when logging in via SSO.
{% endhint %}

* **Sign on URL**: Enter the SSO URL collected in Okta
* **Issuer**: Enter the Issuer collected in Okta
* **Certificate**, directly copied from the dashboard\ <br>

  <figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FpignZmG5B3zgV1medh4z%2FCleanShot%202025-09-23%20at%2009.43.18%402x.png?alt=media&#x26;token=a2d51086-35e3-473c-9f00-b1847b1dc7d8" alt="" width="375"><figcaption></figcaption></figure>

5. Click **Save**
6. Collect the generated values:
   * **DinMo’s Entity ID**
   * **DinMo’s Callback URL**
   * **Your Portal URL**: The URL used to connect to your DinMo workspace through SSO.

#### **Step 4: Limit Access to Authorized Users (Optional)**

For additional security, you can restrict access to your DinMo workspace to authorized users only in your IdP. To enable this, toggle the **Enable SAML-only authentication** option.

***

{% hint style="success" %}
:tada: Congratulations! You have successfully enabled SSO for all your DinMo account workspaces.
{% endhint %}

### Connecting to a workspace using SSO

#### Method 1: using DinMo sign-in

* Go to <https://app.dinmo.io/sign-in>
* Click on "Continue with SSO"

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FgrhVUHnf09qDSSdogACQ%2FCleanShot%202025-09-23%20at%2011.31.04%402x.png?alt=media&#x26;token=f954cb19-3ad4-461a-809f-788a4a798ffd" alt="" width="563"><figcaption></figcaption></figure>

* Enter your **SSO Portal Key**
* Validate your connection with Okta

#### Method 2: using your specific URL

* Go to [https://app.dinmo.io/sso?key=your\_key](https://app.dinmo.io/sso?key=dinmo)
* Validate your connection with Okta
