-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Users to login directly to moodle or with Auth #98
Comments
Hi @baffourt |
Ok, unfortunately, I don't have any example of that. I just had a user requesting that just yesterday when he used our internal app to login through auth_userkey and then wanted to login directly to moodle later on but his login credentials no longer worked |
Hmmm, I'm on the fence here. It sounds like a bug to me. So it looks like we let users with other auth types to login using auth_userkey, but when we log them in we set their auth method to userkey which prevents them to login using an original auth method. It feels like we shouldn't let internal users to login using auth key or should not update their auth method. |
So what we want here is:
PR is welcome! |
I don't think this as a bug, I rather think users who had original auth method different from And maintain users who don't originally have an auth method be on Or let us not change the auth method at all for users with different auth type if we can still use Does this make sense? |
Well, it does and doesn't :) Moodle has always incorrectly conflated identity vs authentication. So I don't think we should manipulate auth methods unless we are actually creating a user. |
There is a need in my scenario to allow existing users to log in to moodle either directly or through this plugin.
I don't have a problem logging in with
moodle_auth_userkey
.The problem occurs when the existing user after going through this login in a future situation has to log in to moodle directly without going through here. In that situation, moodle complains about invalid login and does not allow user unless the user continues to go through with auth_userkey
The text was updated successfully, but these errors were encountered: