[SCIM] added\removed reference event
Hello,
I am trying to utilize the User representation found on top of the published MassTransit events.
I noticed that if a user is added or removed from a group, then the representation that is attached to the event is not updated. Meaning, if I remove a user from a group, then the user representation will still have the group that he is not longer a member of.
Can we fix this so that the representations attached to these events will be updated?
Kind regards, Dan
Hello,
I used the latest version "2.0.17" and I couldn't reproduce the issue on my local machine.
Following scenarios have been executed without error.
- Add a user to a group:
HTTP REQUEST
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op": "add",
"path": "members",
"value": {
"value": "{{userId}}"
}
}
]
}
Event received by MassTransit :

The group attribute is present.
- Remove a user from one group
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op": "remove",
"path": "members",
"value": {
"value": "{{userId}}"
}
}
]
}
Event received by MassTransit :

The group attribute is removed.