Closed plamenGo closed 4 years ago
Go-Scim can't seem to handle multiple attributes selection. A request like:
GET http://{{Server}}{{Port}}/{{Api}}/Users?attributes=userName,emails
Returns:
{ "schemas": [ "urn:ietf:params:scim:api:messages:2.0:Error" ], "status": 400, "scimType": "invalidPath", "detail": "invalidPath: error compiling path" }
It breaks on the comma ',' between userName and emails.
This test is from the Microsoft SCIM Reference Code Postman test collection: https://github.com/AzureAD/SCIMReferenceCode/wiki/Test-Your-SCIM-Endpoint
Yup that seems like a bug. I mistakenly interpreted the delimiter as space rather than a comma.
I am travelling now, will fix this on return.
Marking it as a bug.
fixed and closed.
Go-Scim can't seem to handle multiple attributes selection. A request like:
GET http://{{Server}}{{Port}}/{{Api}}/Users?attributes=userName,emails
Returns:
{ "schemas": [ "urn:ietf:params:scim:api:messages:2.0:Error" ], "status": 400, "scimType": "invalidPath", "detail": "invalidPath: error compiling path" }
It breaks on the comma ',' between userName and emails.
This test is from the Microsoft SCIM Reference Code Postman test collection: https://github.com/AzureAD/SCIMReferenceCode/wiki/Test-Your-SCIM-Endpoint