Blocking domains from registration
-
How to restrict registration by email domain ?
I seen "Blocked domains" in the Tenant Security settings but I would like to deny all domains except some client domains?
from https://github.com/FusionAuth/fusionauth-issues/issues/31
-
the built-in domain blocking is documented here: https://fusionauth.io/docs/v1/tech/advanced-threat-detection/#registration-domain-blocking
However:
- It only blocks specific domains so you can't block 'all domains except '
- It requires an enterprise license
As an alternative, consider a registration transactional webhook which could examine the domain provided by a user and fail if it didn't match a list of your domains: https://fusionauth.io/docs/v1/tech/events-webhooks/events/user-registration-create
-
-