Oauth2 authentication plugin for Moodle (for Moodle 3.2 and earlier) icon

Oauth2 authentication plugin for Moodle (for Moodle 3.2 and earlier)

Maintained by Sergio Rabellino
Sign-in with an Oauth2 provider. The first time you sign-in, a new account is created.
Price option: Free

Supports Moodle 2.1-3.2 See all versions
Latest release: 7 years ago
Installations: 416
Downloads (last 90 days): 43

Frankenstyle name: auth_googleoauth2
Authentication
OAuth2

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Will this plugin be updated for 2.7? Thanks
Hi,
I have an issue from server side. When i login to http://www.vle.neoteachers.com/login/index.php with "Sign-in with Google"
then its giving unexpected error.
i was installed plugin under the fully configured instructions from https://moodle.org/plugins/view.php?plugin=auth_googleoauth2
Please resolve my issue.
is it for 2.7 Moodle???
I need your help. I'm using moodle on my site and i installed your plugin.
after all sets when i wants to login with google from my test id the attached error is showing.
Kindly resolve my issue.
Thanks Mahesh. That in deed helped. I altered user table to allow null values for city and country fields and it resolved the issue.
Hi Darshana
I have got same error,while integrating fb with moodle.
Just add following code in moodle/config.php
@ini_set('display_errors', '1');
$CFG->debug = (32768 | 4096 |E_ALL);
$CFG->debugdisplay = true;
@error_reporting($CFG->debug);
then try fb login ,when user redirect from fb to your site, then u will see actual error."error writing to database" error is coming because of mdl_user table.There has field in 'mdl_user' whose default is not mentioned.Check all field's in mdl_user table, problem will be solved... smile
Plug-in works for me now. i have integrated FB, Linked In, Windows Live and google sign on. I am able to login for FB, google and windows but for LinkedIn I'm getting "Error writing to database".
Please suggest. Thanks in advance.
I have installed this plug-in on an vanilla instance of moodle 2.6.2. I configured google sign-on and could see the button on the login page, however there seems to be a couple of issues i.e.
1.I cannot test this on my local environment as the google authentication service does not seem to work with a private IP (my internal IP)
2.Enabling Oauth2 seems to have turned off the other normal form based authentication as well as my email self-sign-on module (so I cannot login to my own site now to do any changes !)
Please help !
index_form.php is the code for the username/password for a standard moodle login. Follow the instructions to add a login with Google button. Then in auth/googleoauth2/lib.php find href="https://accounts.google.com/o/oauth2/auth?client_id= and add https://accounts.google.com/ServiceLogin?Email=domain.com&continue=
between href= and https://
If that doesn't make sense send me a PM. It's not as good as the hd= method but that doesn't work any more, this method will add the @domain.com to their Google login screen so they just add their username.
@Graham Bowman - ok, am stuck adding the hd=domain.com parameter to the google login URL.
Directions say to add a line to index_form.html but what I'm seeing doesn't look like a link that goes to Google. Thanks, in advance, for any assistance.
Hi..
I installed this plugin moodle2.3.1+
I got the following error ,after facebook login which redirect to my site."Error writing to database" ...
Hi..
I installed this plugin moodle2.3.1+
I got the following error ,after facebook login which redirect to my site."Error writing to database" ...
please visit and help for check www.nokschool.com
when login with facebook and windows live can not access siad webpage i use moodle 2.6
thanks in advance
Hi Chetan
when I sign in with facebook and windows Live
webpage back to Log in again ..I don't why ?
Hi,
The FB Connect is working fine. All i want now is how can the FB profile pic automatically becomes the user's profile pic in Moodle.
Also, how can we know that how many users have logged into our moodle site with thier FB. Where can i find details about them???