ed-rom / moodle-auth_uniquelogin

Moodle Uniquelogin authentication
0 stars 3 forks source link

Unable to login with user assigned uniquelogin method #5

Open logan-reynolds opened 7 years ago

logan-reynolds commented 7 years ago

Using the latest commit 3b36b01 on at least Moodle 3.2.2 (Build: 20170313): When making sure dbsessions are enabled and attempting login with a newly created user set to uniquelogin auth method, it fails login as though the password were wrong from the UI perspective. However when you switch this user to a manual account login works normally with the given password.

ed-rom commented 7 years ago

Hi, You shouldn't change the method of user authentication. Users should maintain the manual method.

Please check the installation instructions: Enable the authentication plug-in called Unique login Make sure Database-stored sessions are enabled (see Activate database-stored sessions bellow).

vikdcp commented 6 years ago

Hi, using auth_uniquelogin 2.x i got a problem, after install and configure it, i've uploaded many users with passwords and force to change password, but when i log in with a user and i change password, it log out and i have to access again, but when i do it it show me message "invalid user" with a button "continue" if i continue everything is ok but it doesn't must show me "invalid user" i hope you can help me thanks.

njcrzdrh commented 5 years ago

Dear ed-rom! I have a problem with Unique Login plugin, and would really need your help. I have 2 instances of moodle installed, both are Moodle 2.5.6+ (Build 20140529). On both, the Unique login plugin build number is 2016012500. On both, the Database-stored sessions are enabled, and Uniquelogin is active in authentication plugins page. On both instances, the "Choose an authentication method" on user profiles is NOT set to Unique login, but to Manual accouts. On one instance, the plugin works (after second login the user is logedd out of the first session), on the second one, it does not work. I can be loged in on two different browsers at the same time. As far as I can tell, all the settings are the same. Can you please advise on what could be wrong on the non-working one? Is there a setting I'm missing? Any Ideas?? Thank you a lot! Nejc

ed-rom commented 5 years ago

Hi, @vikdcp what is the authentication method of the users? @njcrzdrh It must be some configuration problem. Are you testing with the same type of user? Please confirm the configuration in https://docs.moodle.org/37/en/Uniquelogin_authentication

njcrzdrh commented 5 years ago

Hi, in both cases, the type of user is "Authenticated user".

Database-stored sessions are enabled (see Notes/Tips bellow) - YES Uniquelogin is active in authentication plugins page - YES

ed-rom commented 5 years ago

Hi, @njcrzdrh Could you please give us login credentials to the website in order to check the issue? Please send to helpdesk@ed-rom.com

njcrzdrh commented 5 years ago

Hi, I would realli like to, but am not allowed. And the site is only accessable from the internal network. If there is anything you would like me to check, printscreen or anything like that, I will gladly send it!

ed-rom commented 5 years ago

If the configuration and the user has the same role in both instances it has to work the same way. Must compare all settings and make sure to test with users with the same role.

njcrzdrh commented 5 years ago

Again, the users are same role - Authenticated user. During the weekend, I went through all Moodle Site Administration options - only difference was enabled Web services (REST) on the instance, that is working. Changed hat on the non-working, but it did nothing. One other difference is the version of the Essential Theme - 2013100800 on the working one, and 2014090301 on the non-working one.

Do you have any idea, what else I can check? Something I missed?