Your Moodle version

Authentication: Google / Facebook / Github / Linkedin / 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.
32k
991
20

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 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?
  • 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


1 2 3 4 5 6 7 8 9
Please login to post comments