[keycloak-user] Simple user SSO between keycloak instances

Long Man longman at barramandi.com
Mon Jun 11 06:03:08 EDT 2018


I have a pair of keycloak setup as cross datacenter HA
as per https://www.keycloak.org/docs/4.0/server_installation/#setup

All configuration data is replicated, and changes to session/config are
seen immediately in both instances console.

However, a user login to /auth/realms/master/account/ cannot re-use the
same session between the instances.
1) login to http://host.domain.com:8080/auth/realms/master/account
(instance 1)
2) go to http://host.domain.com:9080/auth/realms/master/account (instance 2)
prompted to login again although all the cookies are sent to instance2
(AUTH_SESSION_ID, KEYCLOAK_SESSION, KEYCLOAK_IDENTITY)

Any help appreciated

Thanks a bunch!

Regards,
BL


More information about the keycloak-user mailing list