Closed christinedraper closed 9 months ago
Closing while I make sure this isnt my mistake
members=[] => remove all members if there are any
displayName=org-cd1:viewer => change displayName if needed
modifyGroup will not be called if there are no members to be removed or no need for changing displayName
I've tried this multiple times now after making sure there is initially a value in members
and then passing members=[]
By the time it gets to the update object statement if (Object.keys(scimdata).length > 0)
in replaceUsrGrp, the scimdata object is empty so modifyGroup isnt called.
I'll keep trying to find where exactly it is going wrong
OK, sorry for the bother! I had temporarily set putSoftSync to true. It works fine with putSoftSync = false
Yes, putSoftSync will not do any removal, only add missing.
Using scimgateway 4.4.5 with the Okta replace request with empty members:
this never calls modifyGroup, so no change is made to the group.
What I think is happening is this. It is calling
replaceUsrGrp
, but for some reason it is deleting the members element rather than setting it to empty, and so because there are no attributes other than id and displayName there's nothing left to replace and it doesnt call modifyGroup.