Limit new user registration to specific email domains

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, and I would like to accept registrations only for 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.

1 Like

Yep, there’s a site setting for this:


:heart: you.

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


1 Like