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 Sebastien, the plugin retrieves the profile picture for battle.net only. I didn't implement the other provider image yet, I will do it later when I have some free time. If anyone want to implement it is very easy as I wrote most code for battle.net. cheers.
Hello there, I've set up your nice plugin & I can see it helping my forgetful students a lot...
Technical detail: isn't the plugin supposed to pull out the Facebook/Google+ account picture?
Updated our Oauth2 plugin this morning and it's disrupted login on our site. Noticed a new Google login button.
1. User clicks new Google login button.
2. Selects Google Account to use for sign in.
3. User is returned to the LMS without being logged in.
Obviously, this is a big problem...any help would be appreciated. Worked perfectly for months before update was installed. Nothing else has been changed.
Thank you,
William Michael
Classical Liberal Arts Academy
Hi
Please help us, we are facing a problem while signing in using browsers from mobile.
error/couldnotgetuseremail
moodle version: 2.7.1+ (Build: 20140905)
Oauth2: 2015051501 1.5 (Build: 2015051501)
Hi Jérôme,
In fact I think Guzzle doesn't take http proxy into account.
So we add HTTP proxy parameters in PHP-FPM configuration and it works.
Perhaps it's not necessary to create an issue...
Regards,
Charlotte
Hi,
Great plugin, thanks!
I am currently facing a problem where Chrome and / or Firefox block the Google login button provided by this plugin when doing https authentication in Moodle.
Firefox shows a warning saying that the page contains mixed context (https + http) and offers the possibility to show it, but Chrome, in its default configuration, simply blocks it with no obvious means of bypassing the default behaviour. The button simply does not appear.
Any idea?
Thanks in advance
@Camille. I have done a CSV upload with google auth. Make sure you have a column auth with a value of googleoauth2 in your CSV.
Hi,
Can I upload my users via a csv file, then ask them to register through google auth? My tests haven't worked so far...
Thanks in advance
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.
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 ?
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,
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 )
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
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
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