chdemko / joomla-external-login

The External Login project allows Joomla! to manage external Authentication Servers
GNU General Public License v2.0
30 stars 19 forks source link

Logout url #7

Closed cflops closed 9 years ago

cflops commented 11 years ago

Is it possible whem I logout on cas server that is returns to my website ? Everything i click logout it really goes out. But I would like it stays or return to my website. This happens with the automatic login feature turned on.

chdemko commented 11 years ago

It's to your CAS server to handle the feature:

http://url/to/cas/logout?url=returnurl

is called with a returnurl. Your CAS server have to deal with the get "url" parameter

aquamoth commented 10 years ago

I have the same issue with this package and had to rewrite it to fix it. The problem I had is that it immediately tries to autologin again when it returns from the CAS-servers logout action.

My fix was to change this row in caslogin.php, line 674:

if ($params->get('autologin') && $my->get('id') == $user['id'])

with this:

if ($my->get('id') == $user['id'])

and then simply uncheck the autologin feature for the CAS Server.

I think you should consider splitting the autologin flag into two; autologin and autologout, since they seem to be unrelated features.

chdemko commented 10 years ago

That's true

chdemko commented 9 years ago

Solve in version 3.0.0-beta1