vivekrajenderan / simplesamlphp

Automatically exported from code.google.com/p/simplesamlphp
Other
0 stars 0 forks source link

Can't find a way to logout nicely #547

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install simplesamlphp
2.Try to find a logout page
3. no success

With one of my collegue, we are trying to put in place a CAS solution to allow 
easy ideantification for our user around the world.
We successfully create a federation of CAS server, we can login in diffferent 
countries... no issues.

But, we are fighting to get information on logout.

We found a way to create a logout script like that in  
/usr/share/simplesamlphp/modules/casserver/www/logout.php

<?php 

$config = SimpleSAML_Configuration::getInstance();
$as = new SimpleSAML_Auth_Simple('saml2');
$as->logout('/' . $config->getBaseURL() . 'logout.php');

Ugly isn't it ?
But it works quite ok for the basic logout of one application. 

2 questions remain : 
 - How to come back to the application page.
 - How to enable a single log out(SLO) system that will log out all applicatiosn where the user previously logged in with CAS. 

If you have any documentation on the subject, it would be very nice of you to 
provide us a link. I cannot imagine that such a system is build without a 
logout solution totally operationnal, so I think we are lacking of explanation 
rather that we need to develop a solution on our own.

Thank you,
Pierre Bonneau

Original issue reported on code.google.com by pmithran...@gmail.com on 22 Apr 2013 at 8:15

GoogleCodeExporter commented 9 years ago
This is a bug tracker, not a support channel. I suggest the mailing list:

    http://groups.google.com/group/simplesamlphp

As for logout with CAS, it is not supported in simpleSAMLphp. I am not familiar 
enough with the CAS protocol to say if there is a common standard for it.

Original comment by olavmrk@gmail.com on 29 Apr 2013 at 5:55