Your Moodle version

Authentication: Google / Facebook / Github / Linkedin / DropBox / Windows / VK / Battle.net 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 / VK / Battle.net account. The first time you sign-in, a new account is created.
2k
1k
83

This plugin adds the "Sign-in with Google / Facebook / Github / Linkedin / Windows Live  / VK / Battle.net" 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 Github 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.


Motivate the maintainer, +1 the plugin

Like the plugin on Moodle.org (the Add to my Favorites link on this page) and check who contributed to the plugin development in the landing page. Thanks guys!


Need some help / a fix / a new feature / some improvements

Create an issue in the tracker if an issue doesn't already exist for what you need. Once the issue created, a link to Bounty Source will be added to the issue description. From there you will be able to indicate how much you would like to pay for the issue to be answered/solved/peer-reviewed/tested/integrated.


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 #0
Screenshot #1
Screenshot #2

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 Daniel Tillman
    Thu, Nov 19, 2015, 11:25 PM
    I finally got a screenshot of the error from a student. I have posted it to GitHub.
  • Campamento de robotica educativa
    Sat, Nov 21, 2015, 3:14 AM
    Estoy tratando de hacer un link (button) con otra web para login con google a mis course de moodle, pero me dà este error
    Error code: Invalid state parameter
  • Campamento de robotica educativa
    Sat, Nov 21, 2015, 3:16 AM
    Como puedo obtener ese 'state' parameter..trato de hacerlo con esto,
    pero no consigo <?php
    require('../config.php');

    global $USER, $SESSION;

    $SESSION->sesskey = $USER->sesskey;
    ?><?php echo sha1($USER->sesskey);?>
  • Picture of Scott Adamson
    Tue, Nov 24, 2015, 12:10 AM
    Using this tool, can we limit the account creation to JUST a login from our Google Apps accounts (limit and not open to the public).
    Thank you
    Scott
  • Picture of Daniel Tillman
    Tue, Nov 24, 2015, 1:02 AM
    Scott, you can set it up that way. Under the Site Admin menu, go to Plugins -> Authentication -> Manage Authentication. Here is the important part -> SCROLL DOWN until you find Allowed email domains. Enter your Google Apps domains there. (I always forget that there are more options when you scroll down on that page.)
  • Picture of Renaat Debleu
    Wed, Nov 25, 2015, 6:55 PM
    Even when the plugin is not enabled, the authentication method writes log entries with no respect for the debugging settings:
    error_log(print_r($event, true));
    error_log(print_r($event->userid, true));
    This should be documented in the readme file.
  • Picture of Justin Kim
    Thu, Dec 3, 2015, 4:15 AM
    I have installed auth_googleoauth2 and configured the settings for google and facebook, and login works with google, however I cannot login using facebook. It displays the error message: "The site succeed to connect to the selected provider but failed to retrieve your user details. If you are using Google, check that your site administrator has enabled the Google+ API in the Google developer console. It is the most common reason for this error."
    What is the solution to this problem?
  • Picture of Dominik Stuerzer
    Sat, Dec 12, 2015, 1:28 AM
    Thanks for the great plugin! Is it possible to show the buttons for oauth also on the signup page?
    I want to direct people to the signup from a landing page. They should be able to sign up with Facebook and google...
  • Picture of Sourabh Maheshwari
    Sun, Dec 13, 2015, 4:32 PM
    Hi Jerome,

    I am getting the following error:

    401. That’s an error.



    Error: invalid_client

    The OAuth client was not found.

    Request Details
    approval_prompt=auto
    scope=profile email
    response_type=code
    redirect_uri=http://www.saamarthyaved.com/auth/googleoauth2/google_redirect.php
    state=c92cf1e0119c1d3d8b9620c07813500a
    client_id=342837796965-fgv9hodo73agl5e0t9eq9phe31jr94hp.apps.googleusercontent

    also What should be the name of the Product in OAth consent screen.

    Thanks in advance,
    Sourabh
  • Picture of Phuong Hoang
    Wed, Dec 16, 2015, 12:39 PM
    Hi guys,
    At first, I failed to install this plugin, but finally it works like a charm. In my opinion, the reason why I failed was that I used the same email as the one I had registered in my moodle site. I'm not sure! Let consider, guys!
  • Picture of Lars Richter
    Thu, Dec 31, 2015, 6:13 PM
    Is it possible to receive the userpic of the social media (like g+ or facebook profile picture)?
  • Picture of abdoul kassoum Thimobiano Yendanl
    Fri, Jan 8, 2016, 11:22 AM
    Hi i'm new in using moodle and plugins also. This error whe trying to connect with g+ button
    " The site succeed to connect to the selected provider but failed to retrieve your user details. If you are using Google, check that your site administrator has enabled the Google+ API in the Google developer console. It is the most common reason for this error. "
    Can someone help it will very cool thanks in advance.
  • Picture of Dinis Medeiros
    Fri, Jan 29, 2016, 8:05 AM
    Can't login with Microsoft. Google and Facebook OK. Any help?
  • Picture of Dinis Medeiros
    Thu, Feb 4, 2016, 6:58 AM
    Account
    Any help for this? Using hotmail account!!!
    We're unable to complete your request
    Microsoft account is experiencing technical problems. Please try again later.
  • Picture of Pedro Contreras
    Fri, Feb 5, 2016, 1:39 AM
    Is there any way to configure this plugin so that the new user can use her/his email as username insted of the prefix? Thank you.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Please login to post comments