I want to create a web based React page with Java BE which will be used to make a limited users into Keycloak server using Keycloak REST API. I will create users and enable, disable users. When user status for example is changed direct API call will be made to apply the change into Keycloak.
But I have the following problem: In some cases I might need to manually change into Keycloak admin panel user status or important setting. This means that React app will have outdated database.
Is there some solution to this problem?
Then you’ll probably have to re-evaluate your data locality.
Having to places to store user information sounds like a bad idea and prone data drift issues.
If you have to have users stored in keycloak and your application, maybe consider a shared backend storage such as ldap or implementing a custom storage spi in keycloak, which somehow ties your systems together.
Either way, you’ll be in for a lot of pain.