[keycloak-user] keycloak.js - page reloads itself when logged in
Marek Posolda
mposolda at redhat.com
Tue Sep 6 02:19:52 EDT 2016
On 01/09/16 23:34, Andy Yar wrote:
> Hello,
> 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>).
That's strange... IFrame is supposed to just check the cookie, not to do
any reload.
Maybe take a look at our angular examples and see if you do something
differently? See
https://github.com/keycloak/keycloak/tree/master/examples/demo-template/angular-product-app
. Note the angular.bootstrap called after Keycloak authentication is
fully finished.
Marek
>
> This happens in latest Firefox and Edge. Chrome seems to handle these
> reloads quietly.
>
> Is this intended?
>
> Thanks
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160906/5d96ca12/attachment.html
More information about the keycloak-user
mailing list