- Posts: 6
SSO
- tim wilde
- Topic Author
- Offline
- New Member
-
Less
More
13 years 6 months ago - 13 years 6 months ago #1
by tim wilde
SSO was created by tim wilde
Hi
I am looking at SSO.
I have the following software installed.
Joomdle .7
Joomla 1.5.23
Moodle 2.0
I have "mod_logon" set in the Joomla page nav bar which works OK to login/logout for Joomla only users. This shows that the user is logged into Joomla
I am using $OUTPUT->login_info() on the nav bar in Moodle which works OK for Moodle users login into/out of only Moodle. This also shows that the Moodle user is logged in or logged out.
I understood that the SSO would update the login status (logged in/logged out) in both systems irrespective of which system the used initially logged into
Am I missing something?
Do I need to map profiles/fields and pull the Moodle users direct into the Joomla database OR should Joomdle system check the login status between both databases "on the fly"?
Should I be using a Joomdle Login Module in Joomla?
Any help or detailed documentation would be appreciated.
PS I can see the Moodle users in Components/Joomdle/users and if I update a username in Moodle the change is displayed in Joomdle/users so the system are communicating OK.
I am looking at SSO.
I have the following software installed.
Joomdle .7
Joomla 1.5.23
Moodle 2.0
I have "mod_logon" set in the Joomla page nav bar which works OK to login/logout for Joomla only users. This shows that the user is logged into Joomla
I am using $OUTPUT->login_info() on the nav bar in Moodle which works OK for Moodle users login into/out of only Moodle. This also shows that the Moodle user is logged in or logged out.
I understood that the SSO would update the login status (logged in/logged out) in both systems irrespective of which system the used initially logged into
Am I missing something?
Do I need to map profiles/fields and pull the Moodle users direct into the Joomla database OR should Joomdle system check the login status between both databases "on the fly"?
Should I be using a Joomdle Login Module in Joomla?
Any help or detailed documentation would be appreciated.
PS I can see the Moodle users in Components/Joomdle/users and if I update a username in Moodle the change is displayed in Joomdle/users so the system are communicating OK.
Last edit: 13 years 6 months ago by tim wilde.
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
The SSO will log you into both Joomla and Moodle whether you log in from Joomla (system logs you into Moodle) or you log into Moodle (system logs you into Joomla). Typically, from my observations, most organisations are having the users log into Joomla and let the system log you into Moodle.
With regards to detailed documentation, the wiki is available which shows you have to setup / configure your Joomdle environment. That said, there is no documentation which specifically talks about what you are trying to do.
I would do the following:
1) Confirm that the user is in fact logging into both Joomla and Moodle successfully. If so, proceed to your specific need for display the user status. If not then this needs to be fixed first.
2) To show the login / logout status on both environments, I would first ensure the the code is checking the correct domains / sessions. Perhaps Moodle, for eg. is checking for no www (based on the Moodle cfg setting) yet the user is logging into www. This is an example of course.
So do one first and proceed from there.
With regards to detailed documentation, the wiki is available which shows you have to setup / configure your Joomdle environment. That said, there is no documentation which specifically talks about what you are trying to do.
I would do the following:
1) Confirm that the user is in fact logging into both Joomla and Moodle successfully. If so, proceed to your specific need for display the user status. If not then this needs to be fixed first.
2) To show the login / logout status on both environments, I would first ensure the the code is checking the correct domains / sessions. Perhaps Moodle, for eg. is checking for no www (based on the Moodle cfg setting) yet the user is logging into www. This is an example of course.
So do one first and proceed from there.
Please Log in or Create an account to join the conversation.