You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/platform/enterprise/sso.mdx
+25-17Lines changed: 25 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,21 @@ Single Sign-On lets your team sign in to Sim through your company's identity pro
12
12
13
13
---
14
14
15
+
## Before you start
16
+
17
+
<Callouttype="warning">
18
+
[Verify your email domain](/platform/enterprise/verified-domains) first. SSO cannot be saved until the domain shows as **Verified**, and DNS changes take time to propagate.
19
+
</Callout>
20
+
21
+
Decide your **Provider ID** before configuring your identity provider — it becomes part of the callback URL you register there, so changing it later means redoing that step.
22
+
23
+
---
24
+
15
25
## Setup
16
26
17
27
### 1. Open SSO settings
18
28
19
-
Go to **Settings → Enterprise → Single Sign-On** in your workspace.
29
+
Go to **Settings → Security → Single sign-on** in your organization settings.
20
30
21
31
### 2. Choose a protocol
22
32
@@ -33,7 +43,7 @@ Go to **Settings → Enterprise → Single Sign-On** in your workspace.
33
43
34
44
| Field | What to enter |
35
45
|-------|--------------|
36
-
|**Provider ID**| A short slug identifying this connection, e.g. `okta` or`azure-ad`. Letters, numbers, and dashes only. |
46
+
|**Provider ID**| A short slug identifying this connection. Letters, numbers, and dashes only. It must be **unique across every Sim organization**, so include something specific to you — `azure-ad-acme`, not`azure-ad`. If the ID is taken, Sim tells you and suggests a free one. |
37
47
|**Issuer URL**| The identity provider's issuer URL. Must be HTTPS. |
38
48
|**Domain**| Your organization's email domain, e.g. `company.com`. Users with this domain will be routed through SSO at sign-in. |
39
49
@@ -118,19 +128,21 @@ The issuer URL uses Okta's default authorization server, which is pre-configured
3. After registration, go to **Certificates & secrets → New client secret** and copy the value immediately — it won't be shown again
126
136
4. Go to **Overview** and copy the **Application (client) ID** and **Directory (tenant) ID**
137
+
5. Go to **Token configuration → Add optional claim**, choose **ID**, and add **email**. Entra omits the email address for managed users without this claim, and sign-in then fails with a missing-user-info error
138
+
6. If **Enterprise applications → Sim → Properties → Assignment required** is **Yes**, assign the users or groups who should sign in. Microsoft rejects unassigned users before they reach Sim
127
139
128
140
**In Sim:**
129
141
130
142
| Field | Value |
131
143
|-------|-------|
132
144
| Provider Type | OIDC |
133
-
| Provider ID |`azure-ad`|
145
+
| Provider ID |`azure-ad-acme` (must be globally unique)|
question: "A user already has an account with the same email — what happens when they sign in with SSO?",
255
-
answer: "Sim links the SSO identity to the existing account automatically, as long as your identity provider reports the email as verified (email_verified) or the provider is trusted. Most OIDC providers (Okta, Google Workspace, Auth0) assert email_verified, so linking just works. If sign-in fails with 'account not linked' — common with SAML providers that omit the claim — add the provider's ID to SSO_TRUSTED_PROVIDER_IDS on self-hosted and restart."
267
+
answer: "Sim links the SSO identity to that account automatically. Linking is authorized by your verified domain: because you proved ownership of the domain before configuring SSO, Sim treats your identity provider as authoritative for email addresses on it. This works the same for OIDC and SAML, and does not depend on your IdP sending an email_verified claim — Microsoft Entra, for example, never sends one."
0 commit comments