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

G Suite Account Multiple Domains not recognized #76

Open
alex4108 opened this issue Sep 11, 2020 · 1 comment
Open

G Suite Account Multiple Domains not recognized #76

alex4108 opened this issue Sep 11, 2020 · 1 comment

Comments

@alex4108
Copy link

alex4108 commented Sep 11, 2020

My G Suite account consists of multiple domains. A tree is diagrammed below

ROOTDOMAIN.com
> ORG1.com
>> SPECIAL_SUB_ORG_1.com
> ORG2.com

My super admin account is part of ORG1.com

When I configure the application with environment variable GSUITE_DOMAIN=ROOTDOMAIN.com, I get a 401 Unauthorized trying to sign in as my user in ORG1.com.

If I reconfigure the application for GSUITE_DOMAIN=ORG1.com I am able to log in to the application.

Should the application perform logic in these checks against the environment variable, so as to recognize any child domains of the G Suite root domain?

@hlavki
Copy link
Owner

hlavki commented Sep 11, 2020

Hi @alex4108,

yes, multiple domains are not supported yet, since I have only single domain accounts. I can't handle new features at this moment because I haven't free time. Feel free to handle it and post pull request.

@hlavki hlavki assigned hlavki and unassigned hlavki Sep 11, 2020
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