[keycloak-dev] Updated keycloak.js for session state iframe
Stian Thorgersen
stian at redhat.com
Wed May 14 12:54:30 EDT 2014
I've update keycloak.js to now create the session state iframe by default. By default it runs 'checkLoginIframe' every 5 seconds. It also runs checkLoginIframe in updateToken.
If the session is logged out clearToken is called, this will delete subject, token, etc and also invoke the onAuthLogout callback (if one is set).
The iframe can be disabled with "init({ checkLoginIframe: false })" and the interval can be set with "init({ checkLoginIframeInterval: 10 })".
I've also update the js-console and the customer-portal-js examples, and the JS documentation.
More information about the keycloak-dev
mailing list