Authentication without password

Authentication without password

Alan Dabien Barroso發表於
Number of replies: 7
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
評比平均分數: -
In reply to Alan Dabien Barroso

Re: Authentication without password

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
A user without a password? Isn't that the "Guest user"?
In reply to Visvanath Ratnaweera

Re: Authentication without password

Alan Dabien Barroso發表於
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.
In reply to Alan Dabien Barroso

Re: Authentication without password

Amy Dominick發表於

BUMP

Hi, I'm just wondering if anyone found a solution to this - I have the same question. Thank you!

In reply to Amy Dominick

Re: Authentication without password

Glenys Hanson發表於
Hi Amy,

Have you seen the list of Authentication methods? Does none of them suit your case?

Cheers,
Glenys
In reply to Glenys Hanson

Re: Authentication without password

Amy Dominick發表於

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

In reply to Amy Dominick

Re: Authentication without password

Glenys Hanson發表於
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