[keycloak-dev] iframe logout check now implemented
Stian Thorgersen
stian at redhat.com
Mon May 12 12:46:46 EDT 2014
Nice :)
Could we make it simpler to use? For example:
var keycloak = new Keycloak();
keycloak.onAuthSuccess = function() {
alert('User logged in');
}
keycloak.onAuthLogout = function() {
alert('User has logged out');
}
keycloak.init({
onLoad: 'login-required',
autoRefreshToken: true,
logoutIframe: true
});
We already have the onAuthSuccess and onAuthLogout events. The user would just have to configure if they want to use the 'logoutIframe' feature or not (by default we could even have it enabled?). Also, we could add another optional feature to automatically refresh the token.
In the future it would also be nice to enable support for using pop-up windows for login.
----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: keycloak-dev at lists.jboss.org
> Sent: Monday, 12 May, 2014 3:47:18 PM
> Subject: [keycloak-dev] iframe logout check now implemented
>
> The OpenID Connection session status IFRAME trick is now implemented.
> keycloak.js has been extend. The customer-portal-js demo has been
> extended to who how to use it.
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
More information about the keycloak-dev
mailing list