ever-traduora icon indicating copy to clipboard operation
ever-traduora copied to clipboard

Google OAuth domain restriction

Open prince11jose opened this issue 1 year ago • 2 comments

Describe the bug Can domain restriction be done for google oauth enterprise accounts, to allow only specific domain emails should be allowed to login.

prince11jose avatar Nov 17 '22 12:11 prince11jose

Hi @prince11jose do you mean we need to have somewhere in Admin UI a list of domains for emails that are allowed to log in? Will that be enough?

evereq avatar Nov 17 '22 12:11 evereq

Hi @evereq, it need not be in the admin UI but in the env-vars where we set up Google OAuth credentials. If you can mention an array, allowed_domains: ['example.com','example1.com']. Then it can be secured within the domain instead of allowing any gmail id to login.

prince11jose avatar Nov 17 '22 15:11 prince11jose