jelhub / scimgateway

Using SCIM protocol as a gateway for user provisioning to other endpoints
MIT License
176 stars 57 forks source link

500 with PATCH and no members from Okta #112

Closed christinedraper closed 9 months ago

christinedraper commented 9 months ago

With scimgateway 4.4.5, the following Okta request fails with a 500:

PATCH {{basePath}}/Groups/org-cd1:viewer
Content-Type: application/json
Authorization: {{authz}}

{
    "Operations":[{"op":"replace","value":{"id":"org-cd1:admin","displayName":"org-cd1:admin"}}]
}

It does this when you first push a push group, before it patches the members array.

It's failing on the if (typeof value === 'object') in convertedScim20

christinedraper commented 9 months ago

nvm this was an issue in our plugin