Captain-P-Goldfish / scim-for-keycloak

a third party module that extends keycloak by SCIM functionality
BSD 3-Clause "New" or "Revised" License
182 stars 46 forks source link

Group Leave SCIM Notification is not being Received at the Sample Spring Boot Project #112

Closed saravanad closed 1 month ago

saravanad commented 1 month ago

Hi @Captain-P-Goldfish , We are using the sample Spring Boot Project for the SCIM Integration with Keycloak. We are able to receive SCIM Calls for User CRUD, Group CRUD. Also when User is added to the Group, we get the SCIM Calls.

However when the User is Remved from the Group, as shown below, we are not getting the SCIM Notifications in the Sample Spring Boot.

image

Is there anything that we need to configure to achieve this?

Thanks, Saravana

Captain-P-Goldfish commented 1 month ago

Are you testing with the SNAPSHOT version? It is working if I do it. If I click the leave button from your screen I also get the following log-output:

2024-05-07 21:45:12,313 DEBUG [de.captaingoldfish.scim.sdk.keycloak.scim_client.ScimClientSynchronizer] (executor-thread-108) Register update-user-timer-task for user 'Arlette' at remote system
2024-05-07 21:45:12,313 DEBUG [de.captaingoldfish.scim.sdk.keycloak.scim_client.ScimClientSynchronizer] (executor-thread-108) Removing transaction operation from in memory map for process was started:
2024-05-07 21:45:17,313 INFO  [de.captaingoldfish.scim.sdk.keycloak.scim_client.synchrotasks.AbstractScimSynchroTask] (Timer-0) Executing SCIM-Client task 'update-group-Arlette(3a70569f-22bd-4a2e-b5d2-6a1cd910de19)'
2024-05-07 21:45:17,335 INFO  [de.captaingoldfish.scim.sdk.keycloak.scim_client.synchrotasks.groups.ScimUpdateGroupTask] (Timer-0) Starting update of group 'Arlette' at remote SCIM provider 'http://localhost:8081/scim/v2'
2024-05-07 21:45:17,347 INFO  [de.captaingoldfish.scim.sdk.keycloak.scim_client.synchrotasks.groups.ScimUpdateGroupTask] (Timer-0) Successfully updated group 'Arlette' at remote SCIM provider 'http://localhost:8081/scim/v2/Groups'

could you give me some more information?

EDIT: I just noticed the log-messages are not accurate. I will fix the log messages tomorrow.

saravanad commented 1 month ago

Thanks, working now