Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google sign on configuration and googleoauth2 plugin issue #56

Closed
dshah28 opened this issue May 22, 2014 · 4 comments
Closed

Google sign on configuration and googleoauth2 plugin issue #56

dshah28 opened this issue May 22, 2014 · 4 comments

Comments

@dshah28
Copy link

dshah28 commented May 22, 2014

I have installed googleoauth2 plug-in on an vanilla instance of moodle 2.6.2. I configured google sign-on and could see the button on the login page, however there seems to be a couple of issues i.e.

1.I cannot test this on my local environment as the google authentication service does not seem to work with a private IP (my internal IP)

2.Enabling Oauth2 seems to have turned off the other normal form based authentication as well as my email self-sign-on module (so I cannot login to my own site now to do any changes !)

Please help !

@mouneyrac
Copy link
Collaborator

Hi dshah28,

  1. no Google won't let you use an IP address. (not the plugin)
  2. the plugin does not remove the manual authentication, you must have turn it off yourself or deleted the form when you edited the login file. Revert your changes, I'm pretty sure you'll get back the manual form.

@dshah28
Copy link
Author

dshah28 commented May 23, 2014

Thanks Mouneyrac. Plug-in works for me now. I have integrated FB, Linked In, Windows Live and Google sign on. I am able to login for FB, google and windows but for LinkedIn I'm getting "Error writing to database".
Please suggest.

@dshah28
Copy link
Author

dshah28 commented May 26, 2014

I altered user table to allow null values for city and country fields and it resolved "Error writing to database" issue. Thanks :)

@mouneyrac mouneyrac added the Bug label Sep 27, 2014
@mouneyrac
Copy link
Collaborator

Closing this issue as some code has been added to linkedin to support empty city/country code. Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants