You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm currently implementing a custom scimgateway plugin, that must work with SCIM 2.0.
I have run some tests, using Azure AD Provisioning Service as IdP. During tests excution, I identified an issue in parsing body of Users PATCH requests.
I am willing to open a PR for this issue. However, I'm not sure if this change would be correct in any scenario or if it is just a workaround for this case.
The text was updated successfully, but these errors were encountered:
Hello,
I'm currently implementing a custom scimgateway plugin, that must work with SCIM 2.0.
I have run some tests, using Azure AD Provisioning Service as IdP. During tests excution, I identified an issue in parsing body of Users PATCH requests.
Consider the following PATCH body:
After parsing the body, scimgateway invokes my plugin by passing the following object:
i.e. all values in the internal object are
undefined
.This seems to be caused by the following line:
scimgateway/lib/scimgateway.js
Line 1560 in 27fe37a
If i replace
element.value[0].value
withelement.value
, i.e.:then it seems to work as expected. Indeed, after applying this change, my plugin code receives the following data:
I am willing to open a PR for this issue. However, I'm not sure if this change would be correct in any scenario or if it is just a workaround for this case.
The text was updated successfully, but these errors were encountered: