From f39f1216e92d69dc7f27659a6e53742e4a74f7f1 Mon Sep 17 00:00:00 2001 From: xgaia Date: Thu, 24 Feb 2022 09:11:09 +0100 Subject: [PATCH] doc: keycloak17 --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 92b0e0e..eacdc8a 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,22 @@ You can use basic [glob syntax](https://en.wikipedia.org/wiki/Glob_(programming) ## How to install -Simply drop the jar in `$KEYCLOAK_HOME\standalone\deployments`, it will be automatically deployed by keycloak. +Simply drop the `jar` in the plugin directory, it will be automatically deployed by keycloak. + +### Keycloak < 17 + +The plugin directory is `$KEYCLOAK_HOME\standalone\deployments`. + +### 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!)