<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/09/16 23:34, Andy Yar wrote:<br>
</div>
<blockquote
cite="mid:CAMBdEym2Wa7qBVMoHDRKBeqe0hqSePgzmSCcvO7U+wGn=80-og@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hello,<br>
</div>
I've created a template of a Angular based app using
keycloak.js lib. After a successful login the app/page
periodically reloads itself. I guess it's because of the
iFrame session check being set to 5sec interval
(requesting url:
<base_url>/#state=<hash>&code=<hash>).<br>
</div>
</div>
</div>
</div>
</blockquote>
That's strange... IFrame is supposed to just check the cookie, not
to do any reload.<br>
<br>
Maybe take a look at our angular examples and see if you do
something differently? See
<a class="moz-txt-link-freetext" href="https://github.com/keycloak/keycloak/tree/master/examples/demo-template/angular-product-app">https://github.com/keycloak/keycloak/tree/master/examples/demo-template/angular-product-app</a>
. Note the angular.bootstrap called after Keycloak authentication is
fully finished.<br>
<br>
Marek<br>
<blockquote
cite="mid:CAMBdEym2Wa7qBVMoHDRKBeqe0hqSePgzmSCcvO7U+wGn=80-og@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div><br>
</div>
This happens in latest Firefox and Edge. Chrome seems to
handle these reloads quietly.<br>
<br>
</div>
Is this intended?<br>
<br>
</div>
Thanks<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>