Maintained by Picture of Sergio RabellinoSergio Rabellino
Sign-in with an Oauth2 provider. The first time you sign-in, a new account is created.
1746 sites
419 downloads
267 fans
Current versions available: 3

Plugin end of life starting from Moodle 3.3

starting from Moodle 3.3, Oauth2 should be implemented in Moodle core. It will require you to upgrade to Moodle 3.3 and switch to the Oauth2 core authentication (and probably do some migration), but it is a great news as authentication is a really sensible matter and having Oauth2 plugins in core will guarantee their maintenance. So starting from Moodle 3.3 I highly recommend to use the new Oauth2 core plugins ((https://docs.moodle.org/dev/Better_Office_Integrations_3.3#Core_API_for_managing_Authorized_OAuth_Applications) ) . Missing core providers will likely be implemented by someone and published in the Moodle.org plugin repository. There will probably be a new Oauth2 category in the Moodle plugin repository. Wait and see...

I will try to mantain this plugin until Moodle 3.1 (LTS) runs out of security upport  (13 May 2019).


Warning for Facebook users 

The plugin stopped working the 27th March 2017 as Facebook closed the API 2.2. The last versions of this plugin have been updated to support Facebook 2.8 API. As usual carefully test before upgrading a third party plugin if your Moodle site is important to you (especially as it is an authentication plugin)


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.

I also created a free mini-course on how to install a Moodle plugin using Oauth2 plugin as example.


Documentation and support

You can 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 #0

Contributors

Picture of Sergio Rabellino
Sergio Rabellino (Lead maintainer)
Picture of Jérôme Mouneyrac
Jérôme Mouneyrac: Original author and previous maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Sergio Rabellino
    Fri, May 5, 2017, 9:42 PM
    As i wrote in my previous post here, the requests/bugs/suggestions should be posted opening an issue on the github plugin project. A github issue it's more traceable and admits some integration into the plugin development phases. Anyway you should only change the script.js file, modifying the jquery code used to identify in the login page the div element to which you want append the button's code.
  • Picture of Phuong Hoang
    Wed, May 17, 2017, 11:07 AM
    Hi guys,
    Before upgrading to moodle 3.3 I try to uninstall this plugin; however, I failed. Therefore, I deleted this folder on host and in database. After I upgraded, moodle said this plugin was missing from disk. In short, I'd like to know how can I uninstall this plugin?
  • Picture of Francisco Javier Landa Torres
    Mon, May 29, 2017, 2:28 PM
    Hi everyone!
    I hope can help me with this plugin. The login with Facebook is login perfectly, but I have tested an escenario which is "the user denied permission from Facebook". When I do this escenario the system redirected me to a page in my Moodle system with the message: auth_googleoauth2/facebook_failure. Anyone have an idea to process correctly this redirect? when the user denied permission from Facebook?
  • Picture of Jérôme Mouneyrac
    Thu, Jun 22, 2017, 1:07 PM
    Phuong: I would advice to restore the plugin files and disable the authenticatuon plugin from the admin. Unfortunately the uninstall code is not in the plugin so you can not uninstall it (if you are a PHP dev it is not very complicated if you want to add the uninstall code, it will just take you some time)
  • Picture of Kim Chambers
    Tue, Jul 18, 2017, 3:54 PM
    Can anyone advise if it is possible for this plugin to send emails to the Teacher or Site Admin when someone registers using this format?
  • Picture of remon saweris
    Sat, Mar 17, 2018, 5:07 AM
    hi
    After i Connect system account to google it keep sent me notification that The refresh token for one of the OAuth services Google on your site has expired. This will limit the functionality of any plugins that use this service. To fix this issue, visit the OAuth 2 Services
    so please how to disable this connect or stop this notification
    thanks
  • Picture of Han Wen Kam
    Sun, Apr 15, 2018, 4:00 PM
    Is there a link to some documentation on how to do a Migration from this original plugin in 2.9.x of Moodle to 3.4.x of Moodle? Thanks.
  • Picture of Sergio Rabellino
    Mon, Apr 16, 2018, 5:18 PM
    Actually there are some hints sparse on the moodle forum, but not a complete documentation.
  • Picture of Sébastien Petit
    Mon, Aug 27, 2018, 9:22 PM
    I didn't know you could publish a plugin with no uninstall function??? Now I can't uninstall this plugin in my moodle 3.5 installation. Database would have to be cleaned up manually, which sounds too difficult and dangerous for me sad
  • Picture of Sergio Rabellino
    Tue, Aug 28, 2018, 12:32 AM
    For an authentication plugin there's no standard strategy on uninstall itself, so it's very difficult to understand what you think an uninstall function should do.
    The changes to the db are quite simple, please send me a private message explaining what you want to do and i'll try to give you some instructions.
  • Picture of BRIAN NYATHI
    Sun, Mar 3, 2019, 6:44 PM
    Hie Jerome.

    Do you know how to get an email alert/notification everytime someone registers for the first time using OAuth 2 authentication on moodle. l have searched on the plugin settings but l cant find it. Thank you.
  • Picture of Sergio Rabellino
    Mon, Mar 4, 2019, 5:44 AM
    Dear Brian,
    i'm Sergio and now i'm in charge for this plugin. I can confirm that there isn't a setting for email notification to admins about a new registration and there are no plans to add features to this plugin
  • Picture of Bigmar Alvizures Cordero
    Thu, Mar 7, 2019, 10:27 PM
    Buen día Sergio,
    Es probable el poder utilizar esta versión en un Moodle 3.6?
  • Picture of Sergio Rabellino
    Thu, Mar 7, 2019, 10:36 PM
    Some users reported in the past that the plugin was usable, but i cannot and do not want to confirm this. Moodle 3.6 has it's own oauth2 client and i suggest to use that.
  • Picture of Bigmar Alvizures Cordero
    Thu, Mar 7, 2019, 10:57 PM
    Muchas gracias por el aporte, tengo unos usuarios pero no puedo ver su perfil, me dice que falta el auth_oidc, es factible solo instalarlo y no usarlo?

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Please login to post comments