scragg0x / realms-wiki

Git based wiki inspired by Gollum
http://realms.io
GNU General Public License v2.0
831 stars 90 forks source link

Google Oauth fails for non-gmail domains #141

Open glassresistor opened 8 years ago

glassresistor commented 8 years ago

So I'm trying to setup a wiki for our company. Everything is working fine and even the google oauth setup is working. I did my initial testing using my personal email me@gmail.com and it works fine but ultimately I want to use this for my google for work account me@company.org. When I go to login using the google option it gives me the option to login with my personal and my work account. When i click on my work account it redirects back to the wiki and logs me in but logs me in as an Anon. I've tried using an google api key from both my work account and my personal account but neither works for me to login with my work account.

Is this a bug your aware of? Does this work for you?

scragg0x commented 8 years ago

I've never tried with a company google account... I would have to debug and see what going on.

fbritoferreira commented 7 years ago

@scragg0x Is there a way that we could also be able to restrict google oauth based on a domain name.