title: how to get keycloak inject cookie with auth server running on docker
body: <p>Apologies for my very wordy post. I'm using keycloak, openid connect, nginx, docker and react in my application.</p>
  
  <p>keycloak is running on docker with for example ( <a href="http://auth-server.com/auth" rel="nofollow noreferrer">http://auth-server.com/auth</a>)</p>
  
  <p>When I bring up my frontend on localhost:3000. It redirected me to the log-in page with ( <a href="http://auth-server.com/auth/login.html" rel="nofollow noreferrer">http://auth-server.com/auth/login.html</a> ), then after the log in, I need to get current logged-in user from my back-end micro service which requires cookie with session and X-AUTH-USER injected by keycloak. I believe because frontend is running on localhost, and keycloak is on a different domain. cookie and the http header is not being injected with the subsequent requests. </p>
  
  <p>How can I get keycloak to inject the cookie for every single subsequent request?</p>