tm-drtina opened a new issue, #383:
URL: https://github.com/apache/directory-scimple/issues/383

   I'm testing my SCIM implementation against this library and getting errors 
because `referenceTypes` field is set, but the type is not `reference`. From my 
understanding of the [RFC7643](https://datatracker.ietf.org/doc/html/rfc7643) 
`referenceTypes` should be only set for `reference` type, not `string`.
   
   
https://github.com/apache/directory-scimple/blob/66f2b9a1f01e64644404747ba8b607d6bb59a1db/scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/resources/Photo.java#L45-L47
   
   result from endpoint: (`curl http://localhost:8080/v2/Schemas` using spring 
boot example)
   ```
   {
     "name": "value",
     "type": "string",
     "multiValued": false,
     "description": "URL of a photo of the User.",
     "required": false,
     "caseExact": false,
     "mutability": "readWrite",
     "returned": "default",
     "uniqueness": "none",
     "referenceTypes": [
       "external"
     ]
   }
   ```
   
   Also found other instances:
   
https://github.com/apache/directory-scimple/blob/66f2b9a1f01e64644404747ba8b607d6bb59a1db/scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/resources/ScimUser.java#L110-L112
   
https://github.com/apache/directory-scimple/blob/66f2b9a1f01e64644404747ba8b607d6bb59a1db/scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/schema/ResourceReference.java#L55-L57


-- 
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: dev-unsubscr...@directory.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to