-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SCIM] Patch Add operation for multiple fields to addresses causes each field to be added separately. #808
Comments
Hello, There is indeed a mistake in the current implementation. When the addresses property does not exist in the user's SCIM representation, and an HTTP PATCH request is made with multiple operations targeting the same address, multiple addresses are incorrectly inserted. This issue has been fixed in the KR, |
@JesseDeH : A pre-release package, version 5.0.3-rc1, has been published and is available for use. It includes the bug fix. Could you try it and check if your issue is resolved? |
@simpleidserver Thanks for picking this up so quickly! I've updated to the rc-1 version, but am getting an issue with the IBusHelper on the Api controllers on startup:
I'm adding this without configuring MassTransit, so I am unsure what is causing this at the moment. Edit: By providing a mock implementation of IMessageDataRepository in the services, I was able to run some integration tests, and from there I can confirm the bug is fixed. I'd like to do a further test directly with Entra, but I'll await your response on the above issue. |
Hello, I apologize for not mentioning earlier that the Program.cs file in the SCIM project has changed in the The following method has been added to configure the repository used by MassTransit for transferring very large messages:
Please either pull the latest changes to the Program.cs file from here: https://github.com/simpleidserver/SimpleIdServer/blob/Release503/src/Scim/SimpleIdServer.Scim.Startup/Program.cs or
|
I've applied your fix and confirmed that the patch also works in combination with Entra. Thanks again! |
When performing a Patch with multiple values for a single address object, each value is stored as a separate entry in the addresses list.
See for an example the below Patch operation with the result.
Unfortunately, the example is the way that the SCIM implementation within Entra ID is sending the patches in this case, so I am not able to change the way that the operations are sent to the endpoint.
PatchOp
Resulting Address object
I would expect in this case that the operation returns the address as a single object.
The text was updated successfully, but these errors were encountered: