Captain-P-Goldfish / SCIM-SDK

a scim implementation as described in RFC7643 and RFC7644
https://github.com/Captain-P-Goldfish/SCIM/wiki
BSD 3-Clause "New" or "Revised" License
123 stars 37 forks source link

Implementation of attributes and excludedAttributes in SearchRequest are not according to the SCIM RFC #690

Closed SlavikZ closed 4 months ago

SlavikZ commented 4 months ago

For now, the attributes and excludedAttributes in the SearchRequest are implemented as a single string containing a comma-separated list of values. But, according to the RFC 7644, they must be a multi-valued list of strings, e.g. array of strings. Here is the sample from the RFC:

{
     "schemas": ["urn:ietf:params:scim:api:messages:2.0:SearchRequest"],
     "attributes": ["displayName", "userName"],
     "filter":
       "displayName sw \"smith\"",
     "startIndex": 1,
     "count": 10
   }

Thank you so much for your attention and the great SDK.

Captain-P-Goldfish commented 4 months ago

Now the API supports both. Array and comma separated list