title: Keycloak : Redirection loop using javascript adapter behind nginx
body: <p>I have a Javascript client authenticating using OIDC against keycloak.</p>
  
  <p>The authentication works fine in development environment but end in a redirection loop when using a reverse proxy between the client and the backend (including keycloak)</p>
  
  <p>Looks like the authentication succeed (the <code>/token</code> request end with http 200 and the response include all the tokens) but then the <code>login-status-iframe.html</code>  does not detect it as successful and restart an authentication flow again and again</p>
  
  <p>What is the problem here (nginx configuration ?)  </p>