All Projects → micedre → keycloak-mail-whitelisting

micedre / keycloak-mail-whitelisting

Licence: Apache-2.0 License
Keycloak extension to whitelist email adresses domain when users register

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to keycloak-mail-whitelisting

headless-chrome
Implementation of the new headless chrome with chromedriver and selenium.
Stars: ✭ 34 (-5.56%)
Mutual labels:  maven
maven-javadoc-plugin
Apache Maven Javadoc Plugin
Stars: ✭ 45 (+25%)
Mutual labels:  maven
gocloaksession
Maintains an active keycloak session using gocloak
Stars: ✭ 15 (-58.33%)
Mutual labels:  keycloak
vim-maven-plugin
The Maven plugin for VIM
Stars: ✭ 52 (+44.44%)
Mutual labels:  maven
keyonic-v2
A Keycloak Mobile Implementation using Angular v4 and Ionic v3
Stars: ✭ 23 (-36.11%)
Mutual labels:  keycloak
cibase
This is a toolkit for CI/CD provided by Choerodon.
Stars: ✭ 12 (-66.67%)
Mutual labels:  maven
keycloak-sms-authenticator-sns
SMS 2 Factor Authentication for Keycloak via AWS SNS
Stars: ✭ 66 (+83.33%)
Mutual labels:  keycloak
sonatype-publish-plugin
Gradle Plugin for publishing artifacts to Sonatype and Nexus
Stars: ✭ 17 (-52.78%)
Mutual labels:  maven
maven-checkstyle-plugin
Apache Maven Checkstyle Plugin
Stars: ✭ 42 (+16.67%)
Mutual labels:  maven
keycloak-docker
Docker image for Keycloak 6.0.1 (postgres, ssl) + k8s + Openshift
Stars: ✭ 19 (-47.22%)
Mutual labels:  keycloak
clean-architecture-example
A simple clean architecture example in Kotlin and Spring Boot 2.0
Stars: ✭ 63 (+75%)
Mutual labels:  maven
react-keycloak-examples
Examples for react-keycloak packages
Stars: ✭ 110 (+205.56%)
Mutual labels:  keycloak
maven-jlink-plugin
Apache Maven JLink Plugin
Stars: ✭ 40 (+11.11%)
Mutual labels:  maven
maven-wrapper-plugin
Apache Maven Wrapper Plugin
Stars: ✭ 14 (-61.11%)
Mutual labels:  maven
scalor-maven-plugin
Build integrator for Java, Scala, Scala.macro, Scala.js, Scala.native, Eclipse and Maven.
Stars: ✭ 47 (+30.56%)
Mutual labels:  maven
whats-new-in-java
Overview of features that were introduced in Java 8-13.
Stars: ✭ 29 (-19.44%)
Mutual labels:  maven
eclipse-null-eea-augments
Eclipse External null Annotations (EEA) repository
Stars: ✭ 34 (-5.56%)
Mutual labels:  maven
ProxyInjector
A Kubernetes controller to inject an authentication proxy container to relevant pods - [✩Star] if you're using it!
Stars: ✭ 77 (+113.89%)
Mutual labels:  keycloak
openjfx-docs
Getting started guide for JavaFX 11
Stars: ✭ 70 (+94.44%)
Mutual labels:  maven
brauzie
Awesome CLI for fetching JWT tokens for OAuth2.0 clients
Stars: ✭ 14 (-61.11%)
Mutual labels:  keycloak

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

The jar are deployed to Maven Central Repository here : https://repo1.maven.org/maven2/net/micedre/keycloak/keycloak-mail-whitelisting/

Simply drop the jar in the plugin directory, it will be automatically deployed by keycloak.

Wildfly distribution (default until keycloak 16)

The plugin directory is $KEYCLOAK_HOME\standalone\deployments.

Quarkus distribution (default since keycloak 17)

The plugin directory is $KEYCLOAK_HOME\providers.

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"
  • Set the execution "Required"
  • 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!)

Display authorized mail domains in register forms

This extension provides the list of authorized patterns in the authorizedMailDomains attribute of the registration page.

This can be used like this :

 <div class="${properties.kcLabelWrapperClass!}">
                    <label for="email" class="${properties.kcLabelClass!}">${msg("email")} (only ${authorizedMailDomains?join(", ")})</label>
 </div>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].