๐Ÿ’‚Email domain acceptlist

Only allow specific emails to register.

Using user profile capabilities of keycloak you can define a Regexp on the email field that will only allow certain domains to register.

The Regexp should look something like this and can be generated easily with this helper.

You can find here the source code that allow to convert the regexp back into an array of string to display a tooltip that show what emails are allowed like shown on the video above.