# Google Workspace not working with multiple domains

**URL:** <https://community.auth0.com/t/google-workspace-not-working-with-multiple-domains/95031>\
**Category:** Get Help\
**Tags:** google-workspace-enterprise-connection, connections\
**Created:** [November 23, 2022, 7:52pm UTC](https://community.auth0.com/t/google-workspace-not-working-with-multiple-domains/95031 "2022-11-23T19:52:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesseL](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jessel/32/33711_2.png) [@jesseL](https://community.auth0.com/u/jesseL)\
**Post date:** [November 23, 2022, 7:52pm UTC](https://community.auth0.com/t/google-workspace-not-working-with-multiple-domains/95031/1 "2022-11-23T19:52:24Z")

</div>

I set up a Google Workspaces enterprise connection that I expect to be used by multiple domains, however I am NOT using home realm discovery.

If I don’t set the Google Workspace Domain to the domain of the logging in email I get.

Email domain mismatch: [somedomain.com](http://somedomain.com) is not in the list of allowed email domains for this identity provider.

Setting it to \* doesn’t work.

I do not want to set up a separate conection per domain or turn on home realm discovery, and this is definately on the auth0 side because when I connect to the same google app from postman with the same params it works fine.

Any ideas on how I can get this to work?

---

<div class="post-metadata">

**Author:** ![david\_wisecarver](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david_wisecarver/32/37472_2.png) [@david\_wisecarver](https://community.auth0.com/u/david_wisecarver)\
**Post date:** [December 7, 2022, 11:29pm UTC](https://community.auth0.com/t/google-workspace-not-working-with-multiple-domains/95031/3 "2022-12-07T23:29:29Z")

</div>

Hi @jesseL,

Welcome to Auth0 Community!

I believe you should be able to allow for multiple domains by including them in the Identity Provider domains, even if you are not using Home Realm Discovery. Would you try adding the the additional domains to the Identity Provider domains list and see if you still get this error message?

[https://auth0.com/docs/authenticate/login/auth0-universal-login/identifier-first#define-home-realm-discovery-identity-providers](https://auth0.com/docs/authenticate/login/auth0-universal-login/identifier-first#define-home-realm-discovery-identity-providers)

---

<div class="post-metadata">

**Author:** ![jesseL](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jessel/32/33711_2.png) [@jesseL](https://community.auth0.com/u/jesseL)\
**Post date:** [December 9, 2022, 6:26pm UTC](https://community.auth0.com/t/google-workspace-not-working-with-multiple-domains/95031/4 "2022-12-09T18:26:25Z")

</div>

Thank you, I’m not sure if something was fixed or I just didn’t test that properly, but it’s working now.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 23, 2022, 6:26pm UTC](https://community.auth0.com/t/google-workspace-not-working-with-multiple-domains/95031/5 "2022-12-23T18:26:30Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
