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.
38k
1k
32

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!


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

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 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?
  • Picture of Charlotte Nicolas
    Tue, Jun 2, 2015, 4:28 PM
    Hi Jerome,

    I wonder if you plan to add Twitter Authentication in your plugin roadmap.
    If this is not the case, can you just explain the reasons (technical issue, lake of time...) ?

    Thanks,
  • Picture of Jérôme Mouneyrac
    Tue, Jun 2, 2015, 4:45 PM
    Hi Charlotte,
    I am planning to do it but I don't think it will arrive before, at least, a month. I am working on this plugin only when I have some free time and the desire to work on it smile I am currently rewriting the plugin using the popular PHPLeague Oauth2 client library that supports many extra providers (dropbox, instagram, square...). You can have a pick to this new version in the dev branch on github. However as the PHPLeague lib is also an Oauth2 client library it doesn't support twitter. Twitter uses Oauth1 for the authentication process (from my knowledge).

    To support Twitter I was thinking using https://github.com/thephpleague/oauth1-client as library. You can follow https://github.com/mouneyrac/moodle-auth_googleoauth2/issues/54

    Cheers,
    Jerome
  • Picture of Pau Ferrer Ocaña
    Wed, Jun 10, 2015, 10:34 PM
    Hi!

    We have a problem translating the module for 2.8, in AMOS we cannot see versions greater than 2.5 so the new strings are not included.

    Thanks!

    Pau
  • Picture of Jonatan martinez
    Sat, Jun 13, 2015, 6:29 AM
    Hola amigos, tengo instalado este maravilloso plugin, pero tengo un solo inconveniente con el, el problema es que cuando inician sesión en moodle abre automaticamente la sesión de gmail y demas, pero al salir de moodle deja las cuentas de gmail abiertas, hay una solución a este problema o aun no. de antemano mil gracias por su ayuda.
  • Picture of Charlotte Nicolas
    Mon, Jun 15, 2015, 8:31 PM
    Hi,

    Thanks a lot for your quick response and the links.
    I am working on french traduction of your plugin and I have another question about exeption you use in your plugin.
    Why don't you use $module parameter when you throw moodle_exception ?
    For ex : throw new moodle_exception('couldnotgetuseremail');
    Instead of throw new moodle_exception('couldnotgetuseremail','auth_googleoauth2');
    Thus, the translation is not taken into account for following error codes : unknown_oauth2_provider, couldnotgetuseremail, facebook_failure, google_failure, linkedin_failure...
    Do you plan to add this kind of modifications to the next version ?

    Thanks,
  • Picture of Jérôme Mouneyrac
    Sat, Jun 20, 2015, 11:14 AM
    Bonjour Charlotte,
    it sounds like a good improvement, can you create an issue on Github for it? I have a lot of issues to resolve on this plugin and very little free time for it, it makes it easier if I get most of the information in the github issue tracker. Especially I will likely fix this issue next time I work on the plugin as it is easy and helpful. Thanks for your report smile
    cheers,
    Jerome

    ola Jonatan,
    I am aware of this issue (people don't get log out from the provider itself), but it works like that for every sites on internet using the same authentication system. I think people just need to learn how to use this system, but if a lot of user asks for this feature then we will add some more code for it smile At least can you create an issue as I mentioned in https://github.com/mouneyrac/moodle-auth_googleoauth2/issues/109#issuecomment-113700081 (if ardok don't do it before you). It will be helpful too smile Thanks for your report too smile
    cheers,
    Jerome
  • Picture of ken collinson
    Sat, Jun 27, 2015, 9:34 PM
    Hi Jerome, I have installed the plugin, on my moodle 2.8 and we are using the 'Essential' theme, the buttons are so high up on the login page they are hidden by the theme 'top bar'. I have tried the option of disabling the 'auto' postioning disply of the buttons and have pasted the php code provided into my 'instructions' section for display on the login page, but it only shows the raw code and is not been interpretated. Can you advise please

    kind regards
    ken
  • Picture of Srikanth Kumar Manne
    Tue, Jun 30, 2015, 12:02 AM
    How to position the google/facebook buttons on the login page?

    Can any one help me in bringing the buttons to the bottom of the login page?

    Thanks


  • Picture of Jérôme Mouneyrac
    Mon, Aug 10, 2015, 1:36 PM
    Ken: try to encapsulated the code in <?php ?> (could be the issue)
    Srikanth: as Ken mentioned, use the code indicated in the settings page and place it in your login page.
    I suggest to have a look to the FAQ, the wiki, the issue tracker, all the previous comments, you may find some people having the same issue. Some may have kindly explain how they fixed their problem once they fixed it (hopefully everybody that asked questions should answer their own questions when they find out... just teasing half of the questioners smile )
  • Picture of Charlotte Nicolas
    Thu, Aug 13, 2015, 9:08 PM
    Hi Jérôme,

    Thanks for the corrections you've done.
    I'm just a little confused because I can't test it...
    In fact, we are using Moodle through proxy server.
    I configure it on moodle (it works with other plugins and an old version of your plugin) but now it doesn't work anymore with the new version of oauth2 plugin (Perhaps since the use of Guzzle/PHP League oauth2 client...).
    It seems like the Moodle configuration for proxy was not taken into account.
    Do you know where it can be configured ?

    Thanks,
  • Picture of tomasz borowiak
    Tue, Aug 25, 2015, 12:47 AM
    Hi plugin works great but some user have error like this :
    Authentication method error.
    Please try to login again with your username and password

    do you know what is wrong ?
  • Picture of Jérôme Mouneyrac
    Wed, Aug 26, 2015, 6:42 PM
    Charlotte: can you write an issue for that in github? Thanks.
    Tomasz: at the moment user with manual authentication can not log in Moodle with the googloauth2 authentication. I'll support that later. There is an issue in github.
1 2 3 4 5 6 7 8 9 10
Please login to post comments