Oauth2 authentication plugin for Moodle (for Moodle 3.2 and earlier) icon

Oauth2 authentication plugin for Moodle (for Moodle 3.2 and earlier)

Maintained by Sergio Rabellino
Sign-in with an Oauth2 provider. The first time you sign-in, a new account is created.
Price option: Free

Supports Moodle 2.1-3.2 See all versions
Latest release: 7 years ago
Installations: 416
Downloads (last 90 days): 43

Frankenstyle name: auth_googleoauth2
Authentication
OAuth2

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

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,
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.
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
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
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,
Andy, please check your user authentication method. Go to users and check each user setting. Is the authentication method oauth or something else?
Andy, please check your user authentication method. Go to users and check each user setting. Is the authentication method oauth or something else?
Andy, please check your user authentication method. Go to users and check each user setting. Is the authentication method oauth or something else?
Hi
How is it possible to place the sign in button below the login not top of the page? Thanks..
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.
Does this work with Moodle 2.8??
-Derek
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!
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.
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
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