Go to file
Cédric Couralet 50650a44e0 Cache management
Signed-off-by: Cédric Couralet <cedric.couralet@insee.fr>
2021-02-03 13:01:43 +01:00
.github/workflows Cache management 2021-02-03 13:01:43 +01:00
src/main support globs + a little security 2021-02-03 11:22:51 +01:00
.gitignore 🎉 First try 2019-06-19 07:21:48 +02:00
LICENSE 🎉 First try 2019-06-19 07:21:48 +02:00
README.md updated readme 2021-02-03 11:22:51 +01:00
pom.xml Add workflow 2021-02-03 12:56:01 +01:00

README.md

Keycloak - Whitelist email domain for registration

This extension allows you to validate email domain used for registration in keycloak to accept only a finite list of domain.

You can use basic glob syntax (only * and ? are supported)

How to install

Simply drop the jar in $KEYCLOAK_HOME\standalone\deployments, it will be automatically deployed by keycloak.

How to use

  • Go to the admin console, in authentication menu.
  • Copy the registration flow
  • add a new execution below "Profile Validation" and choose "Profile Validation With Email Domain Check"
  • Configure this new execution (otherwise, keycloak will only accept "exemple.org" domains)
  • Change the registration binding to this new flow
  • Configure the realm to accept registration and verify email (this is important!)