I am thinking of using Keycloak to handle authentication & authorisation of my application. So all the details of roles & users will be stored in keycloak. But I also need to have Users in my local database so I can link this to other tables of the application. Whenever a new user gets registered (using keycloak registration page, so data will be stored in keycloak-db) or edit his/her details - then I should create/edit user table in my local database. How can we do this, can we acheive this using keycloak evnt listener ? Please pass on any docs that has info of how we achieve this.
Asked
Active
Viewed 688 times
6
-
1I actually have the same issue, how did you approach this problem eventually ? – thahgr Jan 18 '22 at 14:55
-
https://stackoverflow.com/questions/71048265/with-sso-like-for-example-keycloak-how-does-one-handle-synchronise-users-in-o here you can find some more details – Tomek C. Feb 15 '23 at 08:12