Closed jnschbrt closed 3 years ago
You'll get the answer if you enable trace-logging:
Unexpected character (',' (code 44)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (String)"{"totalResults":6,"itemsPerPage":50,"startIndex":1,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"Resources":[{"schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"id":"a1ec9b70-8d45-11eb-8092-6b8b09f2c982","userName":"armando.pearson@example.com","displayName":"Armando Pearson","photos":[{"type":"photo","primary":true,"value":"https://cdn.federated.directory/images/users/demo/m26.jpg"},{"type":"thumbnail","valu"[truncated 2005 chars]; line: 1, column: 1825]
Hey! This is likely more a question than a issue..
Im using the ScimClient to retrieve users and groups from an cloud based IDP (Federated Directory) with a bearer token authentication.
However, the isSucess () check returns false, although the HTTP status is 200 and data is returned in the body. I have the same problem with the node.js based scim gateway. Here, however, only with Basic Auth.
Information from the response is printed here: