-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existswontfixThis will not be worked onThis will not be worked on
Description
SCIMMY rejects PATCH with an empty Operations array. This is correct. The RFC doesn't allow this, but it is quite easy to gracefully allow that case (ignore the request after authentication).
The Microsoft SCIM validator performs this empty PATCH. I've also opened a ticket in a tangentially related repo to that validator (as I could not find a contact). AzureAD/SCIMReferenceCode#112
Expected Behavior
Request does nothing
Actual Behavior
Gives error about operations being empty.
Steps To Reproduce
scimmy/src/lib/messages/patchop.js
Line 102 in dcf288f
throw new Types.Error(400, "invalidValue", "PatchOp request body must contain 'Operations' attribute with at least one operation"); scimmy/test/lib/messages/patchop.js
Line 56 in dcf288f
message: "PatchOp request body must contain 'Operations' attribute with at least one operation"},

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existswontfixThis will not be worked onThis will not be worked on