# SSO using Microsoft Entra ID

An Microsoft Entra ID user needs to be added to the desired workspace to allow the connection to the DinMo app

### In the Microsoft Entra ID Dashboard

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

1. Sign in your Microsoft Entra account as an admin
2. Go to the **Entreprise apps** and click on **New application**

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2F4u4Whl9VIPOA5pL1K2D9%2Fimage%20(89).png?alt=media&#x26;token=c2031837-ab7b-44a5-b319-dc31c79dc025" alt="" width="563"><figcaption></figcaption></figure>

3. Click on "**Create your own application**"&#x20;

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2F2Py7LvW9Lr2iaiRNCzbc%2Fimage%20(90).png?alt=media&#x26;token=c4b9495a-99c4-4162-bb2a-aa654e2613de" alt="" width="563"><figcaption></figcaption></figure>

4. Enter a name (`DinMo App` for example) and click on **Create** and your app will be created
5. From this screen, click on **Set up single sign on**

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FRYt2nnJHeUmrHsVqU1yY%2Fimage%20(91).png?alt=media&#x26;token=55862c1c-a372-487a-b162-55a61eeb8426" alt="" width="563"><figcaption></figcaption></figure>

6. Choose SAML<br>

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2F68FJGeIsZtL2GeQQbL60%2Fimage%20(92).png?alt=media&#x26;token=c16199e8-08b6-4a93-bf5f-f76be47040d4" alt=""><figcaption></figcaption></figure>

7. In this screen, choose **Edit** to specify the `Identifier` and the `Reply URL`&#x20;

* Identifier (Entity ID): <https://dinmo-prod.firebaseapp.com>
* Reply URL: <https://dinmo-prod.firebaseapp.com/__/auth/handler><br>

8. Configure the Attributes & Claims section

{% hint style="warning" %}
**Important**: You must configure the Attributes & Claims section, specifically the **Unique User Identifier**, as it is mapped to DinMo's Firebase NameID field and must contain a valid email address.
{% endhint %}

To do so, change source attribute to `user.mail` and click **Save**.

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2FvnvvWRjsa2MEoJLmhdpF%2Fimage%20(93).png?alt=media&#x26;token=df027cc3-6956-47e9-bb66-24170a6cb6ee" alt="" width="563"><figcaption></figcaption></figure>

A good configuration looks like that:&#x20;

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2F0vOVpXOZuM19YkV8f4T5%2Fimage%20(95).png?alt=media&#x26;token=c217a6b8-d440-4027-b315-10a197ab922c" alt=""><figcaption></figcaption></figure>

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

The same email address must also exist and be authorized in the customer's Identity Provider (IdP).

In your Microsoft Entra ID app, you need to add users that will access DinMo app.

* From **Users and Groups** menu entry and click on **Add user/group**
* Click on **Users/None selected**
* Add the users who should be allowed to connect to the application.

### In the DinMo Application

#### Step 3: Configure Microsoft Entra 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 **SSO Configuration** tab.

3. Click on the **Microsoft Entra** logo<br>
4. Fill in the Authentification Settings:

* Login URL
* Microsoft Entra Identifier
* Download the certificat (Base 64) to access the code to copy/paste on our form

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2Fy8pDgqwbl3BKFIdrSvQ0%2Fimage%20(96).png?alt=media&#x26;token=77fb6730-5a2a-4762-9643-dfc8ade52378" alt="" width="563"><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 Microsoft Entra

#### 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 Microsoft Entra
