# B2B multi-tenant application - allowing sign-up with only business email addresses

**URL:** <https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176>\
**Category:** Get Help\
**Created:** [November 13, 2020, 12:14am UTC](https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176 "2020-11-13T00:14:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![support12](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/support12/32/26190_2.png) [@support12](https://community.auth0.com/u/support12)\
**Post date:** [November 13, 2020, 12:14am UTC](https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176/1 "2020-11-13T00:14:56Z")

</div>

Hello!

I am working on a B2B multi-tenant application that will allow businesses to create an organization for its users. The users sign-up using their company email address. The organization is created at the same time as the first user from the company signs-up. I would like to use the domain name to look up organizations. I’m wondering how can I use Auth0 to restrict creation of organization only with business email addresses but not with email addresses from email providers (e.g. [gmail.com](http://gmail.com), [hey.com](http://hey.com) etc)? Is there a well known list of domain names that can be used to black-list?

Ta,

Jer

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 13, 2020, 7:55am UTC](https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176/3 "2020-11-13T07:55:11Z")

</div>

Hey there!

You can use Rules for that:

Dashboard → Rules → Create Rule → Email domain whitelist and reverse engineer it.

> **[Auth0 Rules](https://auth0.com/docs/customize/rules)**
>
> Learn about Rules and how you can use them to customize and extend Auth0's capabilities.

---

<div class="post-metadata">

**Author:** ![support12](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/support12/32/26190_2.png) [@support12](https://community.auth0.com/u/support12)\
**Post date:** [November 16, 2020, 11:54pm UTC](https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176/4 "2020-11-16T23:54:56Z")

</div>

Thanks for you reply. I will look into Rules.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 17, 2020, 10:40am UTC](https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176/5 "2020-11-17T10:40:03Z")

</div>

Sure no worries we’re here for you!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 4, 2020, 3:19pm UTC](https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176/6 "2020-12-04T15:19:40Z")

</div>

Hey there!

Have you had a chance to dig into it?

---

<div class="post-metadata">

**Author:** ![support12](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/support12/32/26190_2.png) [@support12](https://community.auth0.com/u/support12)\
**Post date:** [December 9, 2020, 7:01am UTC](https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176/7 "2020-12-09T07:01:05Z")

</div>

Sorry about the late reply. I haven’t had a chance to look into this yet. We can close this question for now.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 9, 2020, 2:10pm UTC](https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176/8 "2020-12-09T14:10:30Z")

</div>

Ok let me know once you want me to reopen it.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 9, 2020, 2:10pm UTC](https://community.auth0.com/t/b2b-multi-tenant-application-allowing-sign-up-with-only-business-email-addresses/53176/9 "2020-12-09T14:10:40Z")

</div>


