Can't link users to existing users in Rocketchat
Server Versions
Keycloak Version 16.1.1-legacy
RCVersion 4.8.3
Bug descriptions
So I deployed the scim-adapter on an existing keycloak + rc and for existing users the role mapping doesn't seem to work.
Keycloak shows me the following error message - the api call to rc scim is never made.
2022-08-11T12:05:27.297644765Z 12:05:27,297 INFO [sh.libre.scim.event.ScimEventListenerProvider] (default task-78) DELETE users 3f9bed91-6ce4-40f5-a41d-3b58ce13a6f5 roles
2022-08-11T12:05:27.297725249Z 12:05:27,297 INFO [sh.libre.scim.core.ScimDispatcher] (default task-78) 22db2fe9-c2d7-4731-a88d-8d4e8cc13258 scim scim org.keycloak.storage.UserStorageProvider
2022-08-11T12:05:27.306681350Z 12:05:27,306 WARN [sh.libre.scim.core.ScimClient] (default task-78) failed to replace resource 3f9bed91-6ce4-40f5-a41d-3b58ce13a6f5, scim mapping not found
For new users it works, but it looks like the users that existed before in Keycloak can't be linked to the user in rc with scim.
Users are coming from an external identity provider.