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.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
like Kio Cha, I have the same problem, I'm using moodle 2.4, whe I try to login i get this error "error/couldnotgetuseremail". Anyidea please?
But I still need creaed username to be equal to the email address.
Thanks
It installed in few minutes and works fine with Google.
But I need two things :
* I need the created username with Google to be equal to the email address (and not social_user_),
* I really need to lock new account creation with Google to be locked to a Google Apps domain, i.e. I don't want any user to be able to create an account, but just visitors that have email address from @mygoogleappsdomain.com.
Is it possible to reach these two needs ?
Thanks again for this great plugin.
I'm using for the moment an OpenID plugin, but OpenID is depredated, then I need to go to Oauth2
Kind regards,
Vincent MARECHAL
Debug info:
Error code: couldnotgetgoogleaccesstoken
Stack trace:
line 425 of /auth/googleoauth2/auth.php: moodle_exception thrown
line 89 of /login/index.php: call to auth_plugin_googleoauth2->loginpage_hook()
Output buffer:
Notice: Trying to get property of non-object in /var/www/moodlepru/auth/googleoauth2/auth.php on line 189
any idea what could be the error? or how debug it ?
The user cannot login sometimes through Facebook and sometimes in the direct way.
The way the user can login is determined by the way its account has been created, once for all (unless the admin modifies it).
Is that correct?
get_string('signin_google','local_agora', 'Google'). The login buttons are the main login interface and cannot be translated!
Thanks for this great module
The login process is OK, but if you have accounts that have registered the same email address inside the google or facebook account, the process brake without notifications and shows the native moodle login process. I realized that after a bunch of documents readed over internet about oauth2 process.
My recomendations to the maintainers is to add the code to advertice this condition, and to the rest of us to check the pressence of this condition and to support the users in this and to take correct decisions about wich kind of account will support.
Thanks in advance.
Guido.
I submitted this as an issue in Github, but didn't know if it was more appropriate to ask here instead. I apologize for cross posting, I just wasn't sure which place was better.
https://github.com/mouneyrac/moodle-auth_googleoauth2/issues/63
It is not immediately obvious to me if this plugin is affected by anything that Google is deprecating. It appears to me that this plugin is not affected by anything on that web site but just wanted to be reasonably sure. Google migration timetable is located at: https://developers.google.com/+/api/auth-migration#timetable
Thank you.
I am new to Moodle. I want to integrate facebook connect with oauth. for this I have added the Facebook APP id and secret key. In front end it's showing the Facebook connect button and i have clicked on that and going to facebook and ask me to okay the app. then it return the below error.
"The authentication provider sent us a communication error. Please try to sign-in again."
Please help me to resolve this issue.
Thanks in advance.
Anwardeen
Google console API > API Access > Create another client ID...
Then set the "Redirect URLs" and "Javascript origins" to what the settings page shows you (it will be unique to your site).
We have been using this with 2.7 and it's not had any issues.