This is the documentation for v8, checkout the latest version
Keycloakify
HomeGitHubStartersStorybookDiscordKeycloak-js Alternative
v8
  • Keycloakify
  • Release Notes & Upgrade Instructions
  • FAQ
v8
  • 👨‍💻Quick start
  • 🔩Keycloakify in my App
  • 📧Email customization
  • ✒️Terms and conditions
  • ✅Realtime input validation and custom registration fields
  • ⚠️Limitations
  • 🔧Environnement Variables
  • 🌎i18n: msg(...)
  • 📖Build options
  • 💂Email domain acceptlist
  • 🛑Keycloak error in log
  • 🌉Context persistence
  • 💟Contributing
  • 🤔How it works
  • ⬆️Migration guides
    • ⬆️v7 -> v8
    • ⬆️v6 -> v7
    • ⬆️v6.x -> v6.12
    • ⬆️v5 -> v6
Powered by GitBook
On this page

Was this helpful?

Email domain acceptlist

Only allow specific emails to register.

PreviousBuild optionsNextKeycloak error in log

Last updated 27 days ago

Was this helpful?

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 and can be generated easily with .

Find the source code of the register page showed in the video .

The legacy way of doing it would be with and usingkcContext["authorizedMailDomains"] to validate in realtime.

Relevent code and .

💂
something like this
this helper
here
this plugin
here
here
Can't register with a @gmail.com address
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.
Logo