rabser / moodle-auth_googleoauth2

Oauth2 authentication plugin for Moodle (for Moodle 3.2 and earlier)
GNU General Public License v3.0
78 stars 78 forks source link

Authentication method error. (i.e. authenticate on existing manual auth user) #206

Open mrfrerichs opened 8 years ago

mrfrerichs commented 8 years ago

When I try to log in with Google oauth2 I get "Authentication method error. Please try to login again with your username and password." for my own user. Other users work. I have set my authentication method to Oauth2.

Sn0wFox commented 8 years ago

Unfortunately, i have the same error, but for all users. I'm using Moodle 3.1.1+ (Build: 20160721).

When i try to connect to my local Moodle using a Google account, i'm correctly redirected to Google's auth page, i authorize my app, and then i'm redirected back to moodle with the same error than mrfrerichs.

jarredhoyt16 commented 8 years ago

I third this error. I get to the Google Log-in page then get the message mentioned above about an Authentication Method Error. Plus, when looking at the Google+ API dashboard there are plus.people.get errors that correspond with when I am attempting to use Google account log-in for Moodle.

adanlevy commented 8 years ago

We have the same problem! i cannot understand if people have to define only one method of authetication or if people can choose to login via oauth2 or manual without changing their configuration. Does anybody know?

mouneyrac commented 7 years ago

adanlevy: you can only have one authentication method assign to a user. I'll add support for authenticating on existing user later.