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.

Hola nuevamente,tengo este error
Tu dirección de correo electrónico no ha sido verificado por el método de autentificación que has seleccionado. Puede ser que te hayas olvidado de hacer click en el enlace "verificar dirección de correo" que Google o Facebook debía haberte mandado durante la subscripción a su servicio.
Más información sobre este error, es cuando quiero auntenticarme con facebook, pero con google funciona perfect
Debug info:
Error code: emailaddressmustbeverified
Stack trace:
line 258 of /auth/googleoauth2/auth.php: moodle_exception thrown
line 89 of /login/index.php: call to auth_plugin_googleoauth2->loginpage_hook()
Jérôme Mouneyrac resolví el problema, es que en el servidor necesitaba instalar unos módulos de php pecl, oauth, y luego añadir la en /etc/php.ini extension=oauth.so smile
Pero ahora tengo otro problema, estoy probando aunteitcarme con facebook, y me da el problema siguiente
Tu dirección de correo electrónico no ha sido verificado por el método de autentificación que has seleccionado. Puede ser que te hayas olvidado de hacer click en el enlace "verificar dirección de correo" que Google o Facebook debía haberte mandado durante la subscripción a su servicio.
Debug info:
Error code: emailaddressmustbeverified
ahora si ya no se qu ehacer
NOTA: la auntenticacion con google funciona perfecto
Marlon: usually it is because people enter the wrong key/secret.
Debug info:
Error code: couldnotgetgoogleaccesstoken
Stack trace:
• line 436 of /auth/googleoauth2/auth.php: moodle_exception thrown
• line 89 of /login/index.php: call to auth_plugin_googleoauth2->loginpage_hook()
William, I have deleted your previous comment as requested by Jerome. The Moodle security procedures doc is linked to from https://moodle.org/security/ though we obviously need to make it easier to find. Thanks for pointing this out. smile
FYI...no end user would know that the Moodle Security Procedures document exists. smile
Thanks William for reporting this potential security issue. Can you email me the details? Just for the info, normally try to contact the plugin maintainer before announcing a potential security problem (https://docs.moodle.org/dev/Moodle_security_procedures). It avoids potential hackers to take advantage of it.
Solución al problema de logout de google
Hola, nuevamente te escribo por el inconveniente que tenia al cerrar la sesión de moodle no cerraba sesión de cuentas google, pero hice que cuando el usuario salga de moodle redirija a la pagina de https://www.google.com/accounts/Logout?continue=https://appengine.google.com/_ah/logout?continue=http://mi.moodle.com
Espero puedas mejorar con esta información el plugin
y gracias nuevamente por tu aporte
Hi Jerome, I just resolve the error!!! It was in php.ini, I changed the vuale: the max_execution_time = 360 , and now the page loads!!!!
Anyway thanks a lot for your help Jerome!!!
Santiago: enable debug like explained in https://docs.moodle.org/29/en/Debugging#In_config.php and tell us what is your error message.
Hi Jerome,
I did the video:
https://www.youtube.com/watch?t=7&v=i5AgabY-Rjs
When I get log in, always moodle gets automatically to roated to /admin/index.php and the page doesn´t get loaded!!!
Please I need help to resolve this problem!
Santiago
Mark: I am planning to do a demo video for installing the plugin later (as you mentioned providers are super good to change their admin pages and terms every years). For the moment you will have to read facebook docs, google how to do it... etc. It is a very common process, demo video must already exists in plenty of place, just need to find them smile
Hi Santiago,
sorry I am not sure to understand your problem. All Moodle plugins when they got installed trigger my_url/admin/index.php. Can you post a screencast video somewhere (youtube for example) to demo your issues. Cheers, Jerome
Hello, I have the following problem in my moodle 2.9.1 platform , my platform was functioning common and current , when I got the idea of ​​installing this plug-in.
When I Installed the plug -in and it is finished, the website goes to: my_url/admin/index.php and can't get loaded !!!! Also whenever moodle income , there is routed automatically to my_url/admin/index.php and the page isn't loaded again !!! I Looked for another ways to remove the extension but not where it is ?? .... someone could help me please ??
Hi, I've successfully set up the plugin to work with Google, but it isn't working with Facebook. Unfortunately, the procedure seems to have changed a bit for setting up the app with Facebook (I noticed this issue on Github). Could you possible let me know in addition to the email address, what other settings need to be enabled / set for Facebook? Thanks!