# Dashboard SSO

Supported protocols: Saml, OpenId, SCIM and OAuth

## OpenId example with Microsoft Entra ID

In your Azure Portal, go to Microsoft Entra ID Enterprise Applications, then create a new App registration by clicking on "New application".

<figure><img src="/files/IsCL0atXgy2IH1HdkEo2" alt=""><figcaption></figcaption></figure>

"Create your own application",  - Register an application to integrate with Microsoft Entra ID

<figure><img src="/files/frJo0Fu7SQIjf8mVl6mV" alt=""><figcaption></figcaption></figure>

Give the app registration a name and choose "Public client/native (mobile & desktop)" and enter the callback url `https://<fidentitytenantname>.fidentity.ch/api/v1/openid-login/callback` the other settings can be left as default. Note that this also works if you have a custom fidentity domain (see [Custom Domain](/others/custom-domain.md)).

<figure><img src="/files/aJePwP6aZx05aDO78v5z" alt="" width="375"><figcaption></figcaption></figure>

Click Save.

<figure><img src="/files/L7yJB4mw0vWXiPBOSYVG" alt="" width="375"><figcaption></figcaption></figure>

Copy the tenant ID on the overview page and paste it in the url below. The OpenId Connect configuration can now be downloaded from this url:

`https://login.microsoftonline.com/<tenantId>/.well-known/openid-configuration`

Please send us the configuration (json).

### Application Roles

It is possible to assign app roles to an enterprise application. Click "Create App Role", add a custom name, value and description.

<figure><img src="/files/5e97oA5i4sWw9vSZptDU" alt=""><figcaption></figcaption></figure>

The value is sent as `roles` claim (no additional token configuration necessary), please provide us with your roles values so that we can configure the mapping to fidentity roles.

<figure><img src="/files/CJAu2eJK1Oy7UZYlEg5L" alt=""><figcaption></figcaption></figure>

#### Assign Roles

Roles are assigned to users or groups in the enterprise application as follows:\
![](/files/HXuewXvPxSRWvv89R4Pu)

### Testing

When changing configuration in Entra ID, it is important to start a completely new SSO login, preferrably using a private browser window, so that all current claims are set accordingly.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fidentity.ch/dashboard/dashboard-login/dashboard-sso.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
