title: Keycloak 4.3.0 Infinite Loop Scenario
body: <p>I have included the keycloak.js in the head of my index page. Upon a successful login I am redirected back to my defined redirect url where authenticated is equal to true. However, after about 5 seconds the page reloads and return authenticated true. This just happens in a loop and not sure where to go from here. Here is what I have in my html:</p>
  
  <pre><code>&lt;script src="/js/application/jquery/jquery-3.2.1.min.js"&gt;&lt;/script&gt;
  &lt;script src="/js/application/keycloak.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $(document).ready(function() {
      var keycloak = Keycloak('keycloak.json');    
      keycloak.init({onLoad:'login-required', flow:'standard'}).success(function(authenticated) {         
          console.log('load app here');
      }).error(function() {
          alert('failed to initialize');
      });
  });
  </code></pre>
  
  <p>My keycloak.json is:</p>
  
  <pre><code>{
  "realm": "myapp",
  "auth-server-url": "https://localhost:8081/auth",
  "ssl-required": "external",
  "resource": "app",
  "credentials": {
    "secret": "77296286-f52d-48d9-82ac-fcf287486110"
   },
   "confidential-port": 0,
   "policy-enforcer": {},
   }
  </code></pre>
  
  <p>I really appreciate any suggestions you have. This is mainly happening in IE 11. We have a lot of mom and pop customers that still use IE 11 so gotta support it.</p>
  
  <p>I am using the keycloak.js from 4.3.0 and using all of the java 4.3.0 adpaters.</p>