Your Moodle version

Authentication: Google / Facebook / Github / Linkedin / Windows authentication

auth_googleoauth2
Maintained by Picture of Jérôme Mouneyrac Jérôme Mouneyrac
Sign-in with your Google / Facebook / Github / Linkedin / Windows Live account. The first time you sign-in, a new account is created.
26k
11

This plugin adds the "Sign-in with Google / Facebook / Github / Linkedin / Windows Live" buttons on the login page. The first time a user login,  a new Moodle account is created.

Installation

  1. add the plugin into /auth/googleoauth2/
  2. in the Moodle administration, enable the plugin (Admin block > Plugins > Authentication)
  3. in the plugin admin page, follow the displayed instructions.


Documentation and support

Visit the official web page.

You can also search in all existing issues on Github. Go to the issues page, next to the filter button there is a search field. Remove the default content, type your keywords and press enter.

There is a FAQ too.


Alternative plugins

There are many alternatives to this plugin, if you have any trouble with this plugin it may be a good idea to try them.

Sets

This plugin is part of set OAuth2.

Screenshots

Screenshot
Screenshot

Contributors

Picture of Jérôme Mouneyrac
Jérôme Mouneyrac (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Hanry Ham
    Sat, Nov 29, 2014, 8:19 PM
    Now, i am upgrading from 2.7 to 2.8. and now the function php require_once($CFG->dirroot . '/auth/googleoauth2/lib.php'); auth_googleoauth2_display_buttons() cannot show the google buttons.

    any solutions? or anyone facing the same problem?
  • Picture of Roberto Martínez
    Fri, Dec 5, 2014, 10:42 AM
    Hello Jérôme,

    I'm working on a SSO between drupal and moodle, do you by any chance have a tutrial on developing SSO's?
    Thanks
  • Picture of Jérôme Mouneyrac
    Fri, Dec 5, 2014, 12:04 PM
    Hi Roberto, sorry I don't know any SSO tut from memory but you should find it with Google I guess. Cheers, Jerome
  • Picture of zizo zizo
    Sun, Dec 28, 2014, 7:40 PM
    Dear all,

    I tried to install auth_googleoauth2 in my moodle 2.6 and follow all steps but this error appears

    "Coding error detected, it must be fixed by a programmer: Unknown component location"

    any one can help



    Thanks
  • Picture of Craig Simmons
    Wed, Jan 28, 2015, 4:16 AM
    Are there any plans to move this to OAuth-Connect as Google is dropping OAuth2?
  • Picture of Jérôme Mouneyrac
    Wed, Jan 28, 2015, 7:55 AM
    Hi Craig,
    I just checked https://developers.google.com/accounts/docs/OpenIDConnect it seems to be the same calls/code, I think it will work. They just added some openid parameters into the mix in this documentation. Note that months ago I already fixed the deprecated API in order to use Google+ API. Let me know if there is any issue, it's hard to always follow Google changes, they love changes smile
  • Picture of Craig Simmons
    Tue, Feb 3, 2015, 6:39 AM
    Thanks Jérôme! It has been a hot topic here. I'll keep monitoring the situation. We can't use Google + as we are a K-12 school and so some of our students are too young to be able to use it. sad
  • Picture of Federica Marra
    Sat, Feb 7, 2015, 12:10 AM
    Hi Jérôme, I'm new in Moodle and also I never registered myself somewhere with my social account! I was wondering what can happens when someone creates the account with his/her social network account. What will be the data stored in Moodle (username, mail, password)? And if the social account is deleted also the Moodle account will be gone? Thanks for your time.
  • Picture of Andy Scherer
    Mon, Feb 9, 2015, 1:44 AM
    Hi guys

    The issue "error/couldnotgetuseremail" is back on my page. I didn't any update and use the newest version of this oauth Plugin.
    I have activated the "Google+ API" on the Google Developer Console.

    Also, I changed the Api key and secret either created a new project on google site, nothing has helped.

    As someone an idea what it could be?

    Thanks in advance!
  • Just wondering . . .
    Fri, Feb 13, 2015, 1:58 AM
    Does this work with Moodle 2.8??

    -Derek
  • Picture of Pralad Dessai
    Wed, Apr 8, 2015, 6:22 PM
    Hello

    I have enabled google oauth in our moodle instance

    Actually I am using a a customised alternate login url to login to it.

    So could you please advice me on how to get the google oauth option in my customised alternate login url to login.
  • Picture of Ammar Elhassan ElMerhbi
    Mon, Apr 20, 2015, 5:22 PM
    Hi
    How is it possible to place the sign in button below the login not top of the page? Thanks..
  • Picture of Ammar Elhassan ElMerhbi
    Tue, Apr 21, 2015, 5:13 PM
    Andy, please check your user authentication method. Go to users and check each user setting. Is the authentication method oauth or something else?
  • Picture of Ammar Elhassan ElMerhbi
    Tue, Apr 21, 2015, 5:13 PM
    Andy, please check your user authentication method. Go to users and check each user setting. Is the authentication method oauth or something else?
  • Picture of Ammar Elhassan ElMerhbi
    Tue, Apr 21, 2015, 5:14 PM
    Andy, please check your user authentication method. Go to users and check each user setting. Is the authentication method oauth or something else?
1 2 3 4 5 6 7 8 9
Please login to post comments