-
Hey All, I have two Keycloak 26.3 instances, one have access to the admin panel and the other have limited access (via firewall), I've updated some role mapping on one of the clients via the admin panel, when I get JWT token targeting the second non-admin instances, I get a totally different payload compared to the admin instance response. Does Keycloak instances sync automatically between two instances if they are connected to the same database only? or is there some additional configuration needed to sync the data between instances? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Just to make sure, you mean that the instances are sharing the same schema, but have no ability to communicate with each other via infinispan? That is not a supported setup for a cluster.
An infinispan cluster needs to be established between the two instances, see https://www.keycloak.org/server/configuration-production#_running_keycloak_in_a_cluster |
Beta Was this translation helpful? Give feedback.
Just to make sure, you mean that the instances are sharing the same schema, but have no ability to communicate with each other via infinispan? That is not a supported setup for a cluster.
An infinispan cluster needs to be established between the two instances, see https://www.keycloak.org/server/configuration-production#_running_keycloak_in_a_cluster