Hi,
I am trying to create an authentication method that the user doesn't have to type the password, so i can log in moodle from an external site.
I've tried to create a simple authentication method, like making the function user_login() always return true, but it isn't working.
Can someone help me? What am i doing wrong? Is there some kind of alternative to what I am trying to do?
Thanks
A user without a password? Isn't that the "Guest user"?
No, that's not it. A guest user don't have a profile neither can enroll in a course.
It's a little complicated what i have to do, but it involves an external site authenticating the user.
It's a little complicated what i have to do, but it involves an external site authenticating the user.
BUMP
Hi, I'm just wondering if anyone found a solution to this - I have the same question. Thank you!
Hi Amy,
Have you seen the list of Authentication methods? Does none of them suit your case?
Cheers,
Glenys
Have you seen the list of Authentication methods? Does none of them suit your case?
Cheers,
Glenys
Hi Glenys,
I went through the Authentication methods and I found that external database would likely work for us - except we have encrypted passwords and the developer finds it a bad idea to decrypt them in order to pass to another database. We store sensitive information in our student database but would not in the Moodle. I thought there might be a way to use External database without the password since we have unique user login names, but I didn't see anything in docs or forums other than this post. Your thoughts are appreciated!
Amy
Hi Amy,
I'm afraid I can't help any more - I just run a very small Moodle site for an association so don't have that kind of problem.
But I did a Google search for "Moodle authentication encrypted passwords" and there were a lot links that seem to discuss your problem.
Cheers,
Glenys
I'm afraid I can't help any more - I just run a very small Moodle site for an association so don't have that kind of problem.
But I did a Google search for "Moodle authentication encrypted passwords" and there were a lot links that seem to discuss your problem.
Cheers,
Glenys
OH. That's a great idea. I will see what I can find! Thank you!