[keycloak-user] Keycloak for Client services behind loadbalancers

Subhrajyoti Moitra subhrajyotim at gmail.com
Tue May 10 09:11:13 EDT 2016


Hello,
I have a client application, that will be using Keycloak for authentication
and authorization.
There are 2 instances of this application running on (lets say) service1
and service2.

These 2 service instance are behind the load balancer. The load balancer
has sticky sessions on.

Now a user browses to the loadbalancer url, which in turn serves the
service instances, service1 or service2.
Now when the service instance pages are using keycloak.js to verify the
login, I dont get the loadbalancer URL as the redirect url value, rather
the redirect url is of the actual service instance URL on which the service
is hosted.

How do i use Keycloak for loadbalanced services?

Is there some specific setting, or setup of the server?

Please help and guide,
Thanks and cheers,
Subhro.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160510/cda29cc0/attachment.html 


More information about the keycloak-user mailing list