AW: Redirect on logout for idp3 and CAS?
Kevin Flückiger
kevin.flueckiger at inovitas.ch
Wed Apr 13 05:49:26 EDT 2016
Hi Dan,
You could work around this issue:
> We have a few use cases for this. The one we are getting the most push back for now that it no longer works is this....
> We have a kiosk computer in an office where users log in, fill out a form, then log out. They really want the browser to end up back on the form page but logged out
> so when the next user gets to the computer it is all set for
> them. With our old CAS server, this worked well for them.
If you have control over the application running on the kiosk computer you can add the following javascript to the logout button (I assume there is some kind of logout button):
var xmlhttp = new XMLHTTPRequest();
xmlhttp.open("GET", "/Shibboleth.sso/Logout", true);
xmlhttp.send();
xmlhttp.onreadystatechange = function()
{
if(xmlhttp.readyState == 4 && xmlhttp.status == 200)
{
location.reload();
}
};
I did this on an application we are running and it works like a charm. Hope that could be a valid option for you.
Regards,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160413/960f5cb3/attachment.html>
More information about the users
mailing list