Closed pbouda closed 3 weeks ago
same thing, discovered when testing through https://github.com/suvera/scim2-compliance-test-utility
did manual changes as i needed to overwrite this controller anyway
With me it complained it was not an object, and an array lack of totalResults, schemas, itemsPerPage and startIndex also but that last ones might be my utility tool specific, not sure
https://developer.4me.com/v1/scim/schemas/ checking against it as well
With me it complained it was not an object, and an array lack of totalResults, schemas, itemsPerPage and startIndex also but that last ones might be my utility tool specific, not sure
If I read the RFC correctly then itemsPerPage and startIndex would not be required in this case, they say REQUIRED when partial results are returned due to pagination.
.
The PR was merged (thanks!), so I will close this.
I was testing a Rails application that uses scimitar with the following test suite: https://github.com/yaal-coop/scim2-tester
The test suite complains about an incorrect response when I query the
/ResourceTypes
. The response with curl is:The test suite complains that it's missing the
schemas
(should beurn:ietf:params:scim:api:messages:2.0:ListResponse
) andtotalResults
attributes, and it should beResources
instead ofresource_types
, as defined as required here: https://datatracker.ietf.org/doc/html/rfc7644#section-3.4.2The same document provides and example response here on page 75: https://datatracker.ietf.org/doc/html/rfc7644#section-4
Let me know what you think, I could try to provide a PR for the changes if you think they should be done.