- Posts: 4
SSO not working
- orboan
- Topic Author
- Offline
- New Member
-
Less
More
13 years 6 months ago - 13 years 6 months ago #1
by orboan
SSO not working was created by orboan
Hello,
SSO not working here:
Joomla 2.5.7, fresh install (no additional extensions, except a template).
Moodle 2.3.2+
Joomdle 0.82
System checks all green.
Joomla domain: www.mydomain.com
$CFG->wwwroot = ' www.mydomain.com/aula '; in config.php
Joomla Components > Joomdle > Configuration > Moodle URL = www.mydomain.com/aula
Connection method both in Joomla and Moodle is set to cURL
Use redirectless SSO = no
Use redirectless logout = no
Session Joomdle plugin is enabled
User creation and deletion from Joomla triggers user creation / deletion in Moodle
Once logged-in in Joomla, when accessing Moodle it requires to login again, but once logged-in the logout from Moodle or from Joomla means the user is logged-out from both, therefore Single Sign OUT works.
So, briefly, SSO does not work when logging-in, but it does when logging-out.
Any clues to solve this issue?
Need more info?
Thanx.
SSO not working here:
Joomla 2.5.7, fresh install (no additional extensions, except a template).
Moodle 2.3.2+
Joomdle 0.82
System checks all green.
Joomla domain: www.mydomain.com
$CFG->wwwroot = ' www.mydomain.com/aula '; in config.php
Joomla Components > Joomdle > Configuration > Moodle URL = www.mydomain.com/aula
Connection method both in Joomla and Moodle is set to cURL
Use redirectless SSO = no
Use redirectless logout = no
Session Joomdle plugin is enabled
User creation and deletion from Joomla triggers user creation / deletion in Moodle
Once logged-in in Joomla, when accessing Moodle it requires to login again, but once logged-in the logout from Moodle or from Joomla means the user is logged-out from both, therefore Single Sign OUT works.
So, briefly, SSO does not work when logging-in, but it does when logging-out.
Any clues to solve this issue?
Need more info?
Thanx.
Last edit: 13 years 6 months ago by orboan.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 6 months ago #2
by Chris
Replied by Chris on topic SSO not working
What address do you see when you are at the login screen in Moodle?
Please Log in or Create an account to join the conversation.
- orboan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
13 years 6 months ago - 13 years 6 months ago #3
by orboan
Replied by orboan on topic SSO not working
(UPDATED)
Hello Chris.
Moodle is integrated within a joomla wrapper and the URL Joomla shows when displaying moodle (within the wrapper) is:
www.mydomain.com/index.php/aularama
(alias from menu item in Joomla equals to aularama)
(Joomla does not allow www.mydomain.com/index.php/aula ; it says: "Save failed with the following error: A first level menu item alias cannot be 'aula' because 'aula' is a sub-folder of your joomla installation folder")
There, you must login to Moodle (you are already looged-in to Joomla -moodle is only accessible to registered users). If I open Moodle in a new tab/window with www.mydomain.com/aula , it also requires to login again.
Thx for your help.
Hello Chris.
Moodle is integrated within a joomla wrapper and the URL Joomla shows when displaying moodle (within the wrapper) is:
www.mydomain.com/index.php/aularama
(alias from menu item in Joomla equals to aularama)
(Joomla does not allow www.mydomain.com/index.php/aula ; it says: "Save failed with the following error: A first level menu item alias cannot be 'aula' because 'aula' is a sub-folder of your joomla installation folder")
There, you must login to Moodle (you are already looged-in to Joomla -moodle is only accessible to registered users). If I open Moodle in a new tab/window with www.mydomain.com/aula , it also requires to login again.
Thx for your help.
Last edit: 13 years 6 months ago by orboan.
Please Log in or Create an account to join the conversation.
- orboan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
13 years 6 months ago #4
by orboan
Replied by orboan on topic SSO not working
Chris,
as I have no reply besides asking for the address at the login screen in Moodle, and I need to solve this issue, if you think it's ok I can give you admin access to the Joomla/Moodle to take a look and see if there's any prob. Pls send me a private to give you admin access. Thanks in advance.
as I have no reply besides asking for the address at the login screen in Moodle, and I need to solve this issue, if you think it's ok I can give you admin access to the Joomla/Moodle to take a look and see if there's any prob. Pls send me a private to give you admin access. Thanks in advance.
Please Log in or Create an account to join the conversation.
- Jack Bradley
- Offline
- New Member
-
Less
More
- Posts: 12
13 years 6 months ago - 13 years 6 months ago #5
by Jack Bradley
Replied by Jack Bradley on topic SSO not working
Infact I also noticed the same thing, but on another server SSO is working fine with same configuration, so I think there is some other environment factor (may be some server or php setting) which is responsible for SSO, I am still investigating but something is there for sure.
Thanks,
Jack
Thanks,
Jack
Last edit: 13 years 6 months ago by Jack Bradley.
Please Log in or Create an account to join the conversation.
- orboan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
13 years 6 months ago #6
by orboan
Replied by orboan on topic SSO not working
Hello again,
As I already explained to Chris, I forgot to mention I installed the AjaXplorer connector just after the fresh installation of Joomla and before the Joomdle installation. The Joomdle SSO is working now properly after changing the order of the two plugins in Joomla:
As I already explained to Chris, I forgot to mention I installed the AjaXplorer connector just after the fresh installation of Joomla and before the Joomdle installation. The Joomdle SSO is working now properly after changing the order of the two plugins in Joomla:
- If order is AjaXplorer connector first - Joomdle plugin second --> Joomdle SSO does not work for logging-in.
- If order is Joomdle plugin first - AjaXplorer plugin second --> both plugin connectors work ok.
Please Log in or Create an account to join the conversation.