- Posts: 9
Cannot login from Moodle
- kameron
- Topic Author
- Offline
- New Member
-
Less
More
13 years 2 months ago #1
by kameron
Cannot login from Moodle was created by kameron
I got everything working, but two things have happened.
First no one can log in to the Moodle, I know why this is, the authentication is set as "joomdle", which I would expect to be. BUT if the same user tries to log into Joomla, they are told their password is not right. If I set there password for them from Joomla admin backend to the same password there were using, they can then login through Joomla, and Moodle SSO works, but still not able to log into Moodle directly. Changing the authentication back to manual in the database fixes the Moodle login issue, but of course breaks the Joomla SSO.
My Moodle is on the same domain as Joomla but it is in a separate directory
Main Joomla site:
/
Moodle
/moodle
First no one can log in to the Moodle, I know why this is, the authentication is set as "joomdle", which I would expect to be. BUT if the same user tries to log into Joomla, they are told their password is not right. If I set there password for them from Joomla admin backend to the same password there were using, they can then login through Joomla, and Moodle SSO works, but still not able to log into Moodle directly. Changing the authentication back to manual in the database fixes the Moodle login issue, but of course breaks the Joomla SSO.
My Moodle is on the same domain as Joomla but it is in a separate directory
Main Joomla site:
/
Moodle
/moodle
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 2 months ago #2
by Chris
Replied by Chris on topic Cannot login from Moodle
Please provide all the version numbers etc.
The way I read this is that the users were already in Moodle before you integrated? If so, Joomla will have no way of knowing what the passwords are in Moodle. Thus the reason you cannot login from Joomla. When you change the password through Joomla's backend, Joomla now knows the password so can successfully log you in.
The way I read this is that the users were already in Moodle before you integrated? If so, Joomla will have no way of knowing what the passwords are in Moodle. Thus the reason you cannot login from Joomla. When you change the password through Joomla's backend, Joomla now knows the password so can successfully log you in.
Please Log in or Create an account to join the conversation.
- kameron
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
13 years 2 months ago - 13 years 2 months ago #3
by kameron
Replied by kameron on topic Cannot login from Moodle
Ok, that makes sense, I thought the passwords, etc would be synced to Joomla the way they are with Jfusion. Is there any way to sync them?
Joomla 3.0
Moodle 2.4+
I figured out that not being able to log in directly to Moodle is intentional. I didn't realize that. I don't log in through my Joomla front end, and none of the other teachers do either, we all use the Moodle front end, not Joomla. I use have to set the authentication for us to manual.
Joomla 3.0
Moodle 2.4+
I figured out that not being able to log in directly to Moodle is intentional. I didn't realize that. I don't log in through my Joomla front end, and none of the other teachers do either, we all use the Moodle front end, not Joomla. I use have to set the authentication for us to manual.
Last edit: 13 years 2 months ago by kameron.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 2 months ago #4
by Chris
Replied by Chris on topic Cannot login from Moodle
Unfortunately, there is no way to copy the passwords across - Jfusion cannot do this either as this would break the encryption algorithms of either Joomla or Moodle. What they can do is pass the request of password checking from one to the other - Single Sign On.
For Joomdle we chose on purpose to make Joomla the "master" and Moodle the sub because user feedback was that they wanted to make Joomla the front door. I do recognise that for those with existing moodle customers, the change over to using Joomla passwords can seem troublesome. If fact, there is a hack in this forum which allows Moodle passwords to be used making Moodle the master.
The thing I would caution on is moving down a path of using Moodle's passwords in the long run if Joomla is going to be your front door. For example if you promote the Joomla front door, will all registered Joomla users be Moodle users? If not, do you create a Moodle user id just to get into Joomla even I am not a registered user? For me, Moodle's courses are a subset of many things that need to occur on my site. While I would love to convert all registered Joomla users into paying Moodle courses, some will not - some will do other stuff.
On the other hand, if all your users are Moodle users who use Joomla as part of the course, then it would make sense for users to be registered through Moodle. My gut feel, however, is that this is not likely in most situations as if Joomla content was a subset of Moodle content, why have Joomla? Why not just build the content inside Moodle? Especially considering that once you led the student to Joomla from within Moodle, you would loose all tracking capabilities that Moodle does wonderfully.
For Joomdle we chose on purpose to make Joomla the "master" and Moodle the sub because user feedback was that they wanted to make Joomla the front door. I do recognise that for those with existing moodle customers, the change over to using Joomla passwords can seem troublesome. If fact, there is a hack in this forum which allows Moodle passwords to be used making Moodle the master.
The thing I would caution on is moving down a path of using Moodle's passwords in the long run if Joomla is going to be your front door. For example if you promote the Joomla front door, will all registered Joomla users be Moodle users? If not, do you create a Moodle user id just to get into Joomla even I am not a registered user? For me, Moodle's courses are a subset of many things that need to occur on my site. While I would love to convert all registered Joomla users into paying Moodle courses, some will not - some will do other stuff.
On the other hand, if all your users are Moodle users who use Joomla as part of the course, then it would make sense for users to be registered through Moodle. My gut feel, however, is that this is not likely in most situations as if Joomla content was a subset of Moodle content, why have Joomla? Why not just build the content inside Moodle? Especially considering that once you led the student to Joomla from within Moodle, you would loose all tracking capabilities that Moodle does wonderfully.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 2 months ago #5
by Chris
Replied by Chris on topic Cannot login from Moodle
Please Log in or Create an account to join the conversation.
- kameron
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
13 years 2 months ago #6
by kameron
Replied by kameron on topic Cannot login from Moodle
Thank you for the hack.
I actually do not like Moodle's theme designs. We only use Moodle to administer tests. Our district has its own grading system, so Moodle's grading is pointless. We also use webdav for file depositories and Joomla allows for immediate display of the webdav directories that are synced to teacher's computers instead of having to upload the resources to Moodle each time. We used Moodle as it was intended at one point and decided to go a different route with Joomla housing all the content and use Moodle only for testing. We also do not allow students to register. We bulk register students in Moodle for the courses we have. This is for a high school class, these are not online students. We do this because Moodle allows bulk assigning to groups which auto enrols the students in the courses. Our tests aren't even accessed through the Moodle front end. I use a lightbox that links directly to the test page from Joomla. From their perspective, Moodle doesn't even exist. We used to have them create a Joomla account, but it because too much hassle (drama as they would say) to have them create a Joomla account, then access Moodle and put in the course code for group registration, etc. We ended up having to fix too many mistakes for various reasons. So that is why we don't use the typical Joomla/Moodle setup. We have been using Jfusion for a long time, but they have no 3.0 version yet and I thought Joomdle would be better because it has a native Moodle authentication, where Jfusion just passes along the password entered on the Joomla front end as you said.
I actually do not like Moodle's theme designs. We only use Moodle to administer tests. Our district has its own grading system, so Moodle's grading is pointless. We also use webdav for file depositories and Joomla allows for immediate display of the webdav directories that are synced to teacher's computers instead of having to upload the resources to Moodle each time. We used Moodle as it was intended at one point and decided to go a different route with Joomla housing all the content and use Moodle only for testing. We also do not allow students to register. We bulk register students in Moodle for the courses we have. This is for a high school class, these are not online students. We do this because Moodle allows bulk assigning to groups which auto enrols the students in the courses. Our tests aren't even accessed through the Moodle front end. I use a lightbox that links directly to the test page from Joomla. From their perspective, Moodle doesn't even exist. We used to have them create a Joomla account, but it because too much hassle (drama as they would say) to have them create a Joomla account, then access Moodle and put in the course code for group registration, etc. We ended up having to fix too many mistakes for various reasons. So that is why we don't use the typical Joomla/Moodle setup. We have been using Jfusion for a long time, but they have no 3.0 version yet and I thought Joomdle would be better because it has a native Moodle authentication, where Jfusion just passes along the password entered on the Joomla front end as you said.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 2 months ago #7
by Chris
Replied by Chris on topic Cannot login from Moodle
Thanks for sharing your solution. I was too thinking about another part of my business where we would do similar and use Moodle purely to serve up tests. Report cards ,attendance tracking (real classroom), registration, etc. will all be done through a different Joomla based OpenSis concept. Moodle provides the quizzes and grading. I have yet to decide how to manage learning paths for when a student does poorly. Do we push extra content (online course) for them to self study and retake the test. Here moodle might serve well since I can link through through the quizzes. Or do we push them into a total non obligatory joomla content - no tracking basically.
Your light box, is this just a html link from the course quiz in Joomdle? Or have you developed a table of contents in Joomla which then links through the course (through the light box)?
Regards
Your light box, is this just a html link from the course quiz in Joomdle? Or have you developed a table of contents in Joomla which then links through the course (through the light box)?
Regards
Please Log in or Create an account to join the conversation.
- kameron
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
13 years 2 months ago #8
by kameron
Replied by kameron on topic Cannot login from Moodle
When they click the lightbox, it opens with the test showing. It is modal mode so clicking outside the light box does not close it. I just go to Moodle and view a quiz and copy the url link. The only time there is an issue involves Moodle logging them out, but they remained logged into Joomla. I have never figured out why. They just have to close the lightbox and reopen the link and they are fine again.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 2 months ago #9
by Chris
Replied by Chris on topic Cannot login from Moodle
Logging out of one should also log out of the other assuming everything is set up correctly. I can understand that if 1) they logged into joomla on its own and 2) logged into moodle on its own and SSO was not working correctly than logging out of moodle would not touch joomla. This sounds pretty logical to me. Thus I would start looking at SSO, if you are inclined to "resolve" that.
Thanks again for sharing.
Thanks again for sharing.
Please Log in or Create an account to join the conversation.