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(a)redhat.com>
To: keycloak-dev(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev