title: Keycloak multiple domain login
body: <p>I am using the keycloak as the sso in my project i have 2 domains over there. here the use case in my project is if user is logged in to the one domain. i have to show the same user as logged in in another domain.</p>
  
  <p>Issue:
    Here we have 2 domains. and we are running front-end as angular and back-end as java. here we are authenticating to the keycloak rest-api using spring boot. and here the sessions are stateless. and if i loggedin in one domain it is not showing as loggedin in another domain. </p>
  
  <p>we are using the keycloak js with "check-sso" option in the front-end to detect weather the user is logged-in or not. and we are using the social login from keycloak identity broker. to make the user authenticate. and in this case keycloak-js library is detecting user is logged-in. in the second case the normal authentication flow. we are using the keycloak REST-API to authenticate user. in this case we are using the spring boot keyclaok adapter for the user to authenticate. in this flow keycloak js library is not identifying the user as authenticated. if he loggedin from spring boot keyclaok adapter.</p>
  
  <p>can anyone help me out from the issue.</p>
  
  <p>Thanks in advance.</p>