SimpleIdServer icon indicating copy to clipboard operation
SimpleIdServer copied to clipboard

[SCIM] Common Attribute "id" must be unique

Open schurlinga opened this issue 2 years ago • 1 comments

According to RFC 7643 - Common Attributes, "id" must be unique:

A unique identifier for a SCIM resource as defined by the service provider. Each representation of the resource MUST include a non-empty "id" value. This identifier MUST be unique across the SCIM service provider's entire set of resources.

The "id" attribute should be added as 'unique' within StandardSchemas.StandardResponseSchemas:

https://github.com/simpleidserver/SimpleIdServer/blob/ed077178cd645a92c4aab502b4266b3f923313fb/src/Scim/SimpleIdServer.Scim.Domains/StandardSchemas.cs#L191C9-L192C218

schurlinga avatar Sep 05 '23 10:09 schurlinga

Hello,

We have made some modifications to adhere to the RFC. Now, by default, the id has the following characteristics:

  • CaseExact: true
  • Mutability : readOnly
  • returned: always
  • Uniqueness : GLOBAL

KR,

SID

simpleidserver avatar Sep 05 '23 21:09 simpleidserver