<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello,<br></div>I have a client application, that will be using Keycloak for authentication and authorization.<br></div>There are 2 instances of this application running on (lets say) service1 and service2.<br><br></div>These 2 service instance are behind the load balancer. The load balancer has sticky sessions on.<br><br></div><div>Now a user browses to the loadbalancer url, which in turn serves the service instances, service1 or service2.<br></div>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.<br><br></div>How do i use Keycloak for loadbalanced services?<br><br></div>Is there some specific setting, or setup of the server?<br><br></div>Please help and guide,<br></div>Thanks and cheers,<br></div>Subhro.<br></div>