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
### Scenario 2: No Unique Identifier — Using an Alternative Stable Attribute {#alternative-stable-attribute}
42
+
### Scenario 2: SSO Unique Identifier Not Supported by the SCIM — Using an Alternative Stable Attribute {#alternative-stable-attribute}
43
43
44
44
This scenario applies when a Mendix application has already provisioned users through the OIDC SSO module, but the principal IdP attribute (for example, `sub`) in the OIDC used for authentication is not available in the SCIM provisioning payload.
45
45
@@ -64,10 +64,10 @@ Note the following:
64
64
65
65
{{% /alert %}}
66
66
67
-
| Protocol | Identifier | Value | Principal attribute |
| Protocol | Identifier | Value | Principal attribute | Explaination |
68
+
| --- | --- | --- | --- | --- |
69
+
| OIDC |`sub` (primary), `preferred_username` (secondary) |`sub`: `00u12abcD3XYZpqRs5d6`, `preferred_username`: `johndoe@company.com`|`System.User.Name`|`sub` is the primary authentication identifier. `preferred_username` is stored in the `customuserentity.FullName` for SCIM correlation.|
70
+
| SCIM | userName (same as OIDC `preferred_username`) |johndoe@company.com|`customuserentity.FullName` (because in the OIDC, it is stored in this attribute) |`sub` is not available in the SCIM payload; SCIM uses `userName` to match existing users.|
71
71
72
72
#### Transitioning to a Long-Term Standard Identifier (`oid`)
73
73
@@ -104,7 +104,7 @@ Map a stable, unique claim from the IdP, for example, map `preferred_username`
104
104
Require existing users to log in via OIDC after the mapping is applied, so the new attribute is stored in Mendix.
105
105
106
106
3. Align SCIM configuration:
107
-
Configure SCIM to use the newly populated attribute for user matching and follow the same SCIM principal attribute and mapping approach described in the [Scenario 2: No Unique Identifier — Using an Alternative Stable Attribute](#alternative-stable-attribute) section above.
107
+
Configure SCIM to use the newly populated attribute for user matching and follow the same SCIM principal attribute and mapping approach described in the [SSO Unique Identifier Not Supported by the SCIM — Using an Alternative Stable Attribute](#alternative-stable-attribute) section above.
108
108
109
109
By introducing a shared, stable identifier and ensuring it is populated for all existing users, Mendix can reliably correlate SCIM provisioning requests with OIDC-authenticated users and update existing records instead of creating duplicates.
0 commit comments