💂
Email domain acceptlist
Only allow specific emails to register.
Can't register with a @gmail.com address
With user profile
With a third party Keycloak plugin
Using user profile capabilities of keycloak you can define a Regexp on the email field that will only allow certain domails to register.
The legacy way of doing it would be with this plugin and using
kcContext["authorizedMailDomains"]
to validate in realtime. 
Cloud IAM - Keycloak Identity and Access Management as a Service
Feeling overwhelmed? Check out our exclusive sponsor's Cloud IAM consulting services to simplify your experience.