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

Facebook&Google oauth2 service not working moodle 3.3 #242

Open rherman9 opened 7 years ago

rherman9 commented 7 years ago

Hello everyone, I have set up my OAuth2 authentication services following this guide: https://docs.moodle.org/33/en/OAuth_2_Google_service

Everything seems to work in the OAuth 2 service settings:

screen shot 2017-05-26 at 18 50 44

However when I test the login with my second account there is a prompt for email address confirmation (I'm not receiving any email):

screen shot 2017-05-26 at 18 51 57

This shouldn't be the case right? as Oauth2 already authorised the user...

The same thing happens when I try logging in with Facebook (using the Facebook OAuth2 setup - https://docs.moodle.org/33/en/OAuth_2_Facebook_service)

Please help! Im frustrated, Thanks

rherman9 commented 7 years ago

also if I go to browse all users the account is there pending for approval, but why doesn't this happen automatically?

screen shot 2017-05-26 at 19 05 18
xow commented 7 years ago

Hi Moodle 3.3 supports oauth out of the box. You no longer need to or should use this plugin. See https://github.com/rabser/moodle-auth_googleoauth2/blob/master/README.md

rherman9 commented 7 years ago

@xow Hey, I'm using the implemented Oauth2 service, this is not the installed plugin

xow commented 7 years ago

We can close this since you're using the core implementation. This is the plugin's github. I will continue to help on the forum in whatever way I can https://moodle.org/mod/forum/discuss.php?d=353061