realms-wiki icon indicating copy to clipboard operation
realms-wiki copied to clipboard

Google Oauth fails for non-gmail domains

Open glassresistor opened this issue 9 years ago • 2 comments

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 [email protected] and it works fine but ultimately I want to use this for my google for work account [email protected]. 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?

glassresistor avatar Jun 03 '16 05:06 glassresistor

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

scragg0x avatar Jun 03 '16 21:06 scragg0x

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

fbritoferreira avatar Oct 25 '16 14:10 fbritoferreira