SCIMReferenceCode icon indicating copy to clipboard operation
SCIMReferenceCode copied to clipboard

Incompatible with SCIM RFC

Open hermanbanken opened this issue 3 months ago • 0 comments

(Posting this bug with the validator https://scimvalidator.microsoft.com/ here, because I saw no way to contact the people responsible.)

https://datatracker.ietf.org/doc/html/rfc7644#section-3.5.2 mentions

The body of an HTTP PATCH request MUST contain the attribute "Operations", whose value is an array of one or more PATCH operations. Each PATCH operation object MUST have exactly one "op" member, whose value indicates the operation to perform and MAY be one of "add", "remove", or "replace". The semantics of each operation are defined in the following subsections.

When running the validator against my code (that uses SCIMMY because it is NodeJS) I get this error:

Image

SCIMMY is right, the RFC doesn't allow PATCH with 0 Operations. I'd like to validate patching fields of Groups, but because the test FIRST does this invalid patch, the test doesn't continue.

hermanbanken avatar Oct 09 '25 23:10 hermanbanken