# Limit new user registration to specific email domains

**URL:** https://meta.discourse.org/t/limit-new-user-registration-to-specific-email-domains/39512
**Category:** Support
**Created:** [Fevereiro 12, 2016, 11:59pm UTC](https://meta.discourse.org/t/limit-new-user-registration-to-specific-email-domains/39512 "2016-02-12T23:59:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![PabloC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pabloc/32/49633_2.png) [@PabloC](https://meta.discourse.org/u/PabloC)
#### Post date: [Fevereiro 12, 2016, 11:59pm UTC](https://meta.discourse.org/t/limit-new-user-registration-to-specific-email-domains/39512/1 "2016-02-12T23:59:35Z")

</div>

There are some use cases where you want to use Discourse and validate users “only for a particular or a group of domains”.

For example, I work at [Telefónica](http://www.telefonica.com), and I would like to accept registrations only for @telefonica.com emails on my internal Discourse install.

Is this possible to implement? Is anyone interested in this?

I’ve seen this scenario in many SaaS apps lately, in particular, B2B apps, and it works great, and it’s simpler to implement than SSO, for example. It’s a more agile SSO integration.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [Fevereiro 13, 2016, 12:01am UTC](https://meta.discourse.org/t/limit-new-user-registration-to-specific-email-domains/39512/2 "2016-02-13T00:01:34Z")

</div>

Yep, there’s a site setting for this:

 ![](https://global.discourse-cdn.com/meta/original/3X/c/e/ce365f8477007d1584fb643cbe9827084440460f.png)

---

<div class="post-metadata">

### Author: ![PabloC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pabloc/32/49633_2.png) [@PabloC](https://meta.discourse.org/u/PabloC)
#### Post date: [Fevereiro 13, 2016, 12:02am UTC](https://meta.discourse.org/t/limit-new-user-registration-to-specific-email-domains/39512/3 "2016-02-13T00:02:43Z")

</div>

❤ you.

Thanks! Hope this question/answer helps someone else latter.

Cheers.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Novembro 14, 2021, 5:25am UTC](https://meta.discourse.org/t/limit-new-user-registration-to-specific-email-domains/39512/6 "2021-11-14T05:25:08Z")

</div>


