I've spent some time in Firefox's debugger and found out that the redirect occurs right after the window.postMessage() is called in the checkLoginFrame function.The demo project code seems to be in line with my code. Might try it's runtime behavior later.On Tue, Sep 6, 2016 at 8:19 AM, Marek Posolda <mposolda@redhat.com> wrote:On 01/09/16 23:34, Andy Yar wrote:
That's strange... IFrame is supposed to just check the cookie, not to do any reload.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>).
Maybe take a look at our angular examples and see if you do something differently? See https://github.com/keycloak/keycloak/tree/master/examples/de . Note the angular.bootstrap called after Keycloak authentication is fully finished.mo-template/angular-product-ap p
Marek
ThanksIs this intended?This happens in latest Firefox and Edge. Chrome seems to handle these reloads quietly.
_______________________________________________ keycloak-user mailing list keycloak-user@lists.jboss.org https://lists.jboss.org/mailma n/listinfo/keycloak-user