kjthorpe18 commented on issue #436:
URL:
https://github.com/apache/directory-scimple/issues/436#issuecomment-1849107103
The SCIM RFC specifies the following as the way to remove a member from a
group (and this is also how Okta formats their requests):
```
The following example shows how to remove a member from a group. As
with the previous example, the "display" sub-attribute is optional.
If the user was not a member of this group, no changes should be made
to the resource, and a success response should be returned.
Note that server responses have been omitted for the rest of the
PATCH examples.
Remove a single member from a group. Some text was removed for
readability (indicated by "..."):
PATCH /Groups/acbf3ae7-8463-...-9b4da3f908ce
Host: example.com
Accept: application/scim+json
Content-Type: application/scim+json
Authorization: Bearer h480djs93hd8
If-Match: W/"a330bc54f0671c9"
{
"schemas":
["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations":[{
"op":"remove",
"path":"members[value eq \"2819c223-7f76-...413861904646\"]"
}]
}
```
So, if the example request from Azure is not compliant with the RFC, then
SCIM Servers using SCIMple will have to add a case to support Azure-style
removes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]