BlueRui opened a new issue, #774:
URL: https://github.com/apache/directory-scimple/issues/774
I'm building a SCIM server to integrate with PingFed. When trying to sync
groups from PingFed, the SCIMple library is not able to parse the request body,
because the body looks like the following:
```json
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "61343a",
"displayName": "Test Group",
"members": [
{
"value": "xxxx-xxxx-xxx",
"type": "value"
}
]
}
```
The _"type":"value"_ cannot be parsed by the library because it expects
"type" to be one of "User" or "Group" in GroupMembership.
https://github.com/apache/directory-scimple/blob/f48a0881f85bef05522491957e8e49e9ddb647a5/scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/resources/GroupMembership.java#L66
I did not find anything in the [Core
Schema](https://datatracker.ietf.org/doc/html/rfc7643#section-4.3) about
locking down the "type" field of "members" or its values. Should it be a
canonicalValueList in GroupMembership? If it has to stay this way, what can I
do on my side to get around this issue?
Thanks
--
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]