Email domain acceptlist

Only allow specific emails to register.
Can't register with a 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 Regexp should look something like this and can be generated easily with this helper.
Find the source code of the register page showed in the video here.
The legacy way of doing it would be with this plugin and usingkcContext["authorizedMailDomains"] to validate in realtime.
Relevent code here and here.
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.