jelhub / scimgateway

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

[BUG] Delete user on Azure, azure provisioning call to SIMGATEWAY to delete user but SIMGATEWAY response {"statusCode":204,"statusMessage":"No Content"} #47

Closed ngohuytrieu closed 2 years ago

ngohuytrieu commented 2 years ago

Hi guys, I set up scimgateway on my local machine, I linked my azure provisioning to my local scimgateway. Create user, update user works just fine but delete is not working, scimgateway response no content.

Here is the log of delete user on my local scimgateway:

2021-12-22T14:01:40.129 debug: scimgateway[plugin-loki] [Modify User] id=user@example.com
2021-12-22T14:01:40.130 debug: scimgateway[plugin-loki] convertedBody={"active":false}
2021-12-22T14:01:40.130 debug: scimgateway[plugin-loki] calling "modifyUser" and awaiting result
2021-12-22T14:01:40.130 debug: plugin-loki[undefined] handling "modifyUser" id=user@example.com attrObj={"active":false}
2021-12-22T14:01:40.131 info: scimgateway[plugin-loki] 176ms [my-azure-ip] token PATCH http://mylocalsimgateway.com Inbound = {"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"Replace","path":"active","value":"False"}]} Outbound = {"statusCode":204,"statusMessage":"No Content"}

Is this an issue of azure provisioning or my local scimgateway?

jelhub commented 2 years ago

Hi, Following is mentioned in the document:

Regards, Jarle

ngohuytrieu commented 2 years ago

@jelhub Thank you for your support