Single Logout not working

More
13 years 6 months ago #1 by duy
Single Logout not working was created by duy
Hello,
Single log out not working here

System:
Joomla 2.5.6, fresh install (no additional extensions, except a template).
Moodle 2.3.2 latest
Joomdle 0.82
System checks all green.
Joomla domain: http://localhost/joomla
$CFG->wwwroot = 'http://localhost/moodle'; in config.php
Joomla Components > Joomdle > Configuration > Moodle URL = http://localhost/moodle
Connection method both in Joomla and Moodle is set to cURL
For logging in
Use redirectless SSO if set to

1. No - Works even SSO works

2. Yes - Doesn't work, gives a blank space like below but different url: http://localhost/joomla/index.php?Itemid=210 (Url is redirected url to one menu item)

For logging out
Use redirectless logout if set to

1. No - Doesnt' work, gives blank page with land-logout.php url: http://localhost/moodle/auth/joomdle/land_logout.php

2. Yes - Works, but does not log out of moodle

Session Joomdle plugin is enabled

User creation creates users in Joomdle, Moodle and Joomla and
User deletion deletes users from Joomdle Moodle and Joomla

Once logged-in in Joomla, when accessing Moodle the user is logged in (SSO set to no), however logout from Moodle or from Joomla logs only the user from one of them not both (Single sign out set to yes). So it means Single sign out doesn't work.

So in summary, SSO works properly if set to no for logging-in, but single signout doesn't work properly what ever redictless sign out option I use.

Any clues to solve this issue?
Need more info?

Thanx a lot

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #2 by Ruth Cheesley
Replied by Ruth Cheesley on topic Single Logout not working
Did this get resolved? I have the problem that users aren't being logged out of Moodle when they log out of Joomla - but they are logged in fine.

Ruth

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #3 by Ruth Cheesley
Replied by Ruth Cheesley on topic Single Logout not working
Aha, cracked it! We implemented a www redirect but the Moodle config.php was pointing at the non-www URL as was Joomdle. Finally, and most importantly, we had not populated the Moodle Cookie Path - Antonio I wonder if it's possible to have a check for this in the system check, if redirectless SSO is enabled, that field must be populated?

Ruth

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #4 by Chris
Replied by Chris on topic Single Logout not working
Thanks for your update with solution. We can add that to the list of features.

Please Log in or Create an account to join the conversation.