Register user with invitation
This Keycloak plugin adds a form action and a required action to register user with invitation.
The version 11.0 of this plugin is compatible with Keycloak 11.0.3
and higher.
The plugin installation is simple and can be done without a Keycloak server restart.
standalone/deployments
directory in your Keycloak server's rootYou can also clone the Github Repository and install the plugin locally with the following command:
$ mvn clean install wildfly:deploy
Form action 'RegistrationInvitation' and 'WebhookRegistrationSuccess' required action are deploy in keycloak. Got to {keycloak url}/auth/admin/master/console/#/server-info/providers.
Once the installation is complete, the Webhook Registration Success
required action appears in "
authentication/required-actions" on your realm. Register and enable Webhook Registration Success
.
Create your own 'registration flow' in /authentication/flows/registration on your realm.
You can override individual templates in your own theme. To create a custom register form for the mytheme theme copy register.ftl (in redfroggy theme) to themes/mytheme/login/.
git clone git@github.com:RedFroggy/keycloak-registration-invitation.git
mvn package
Example to build with docker
cd keycloak-registration-invitation
docker run --rm -v "$(pwd)":/opt/maven -w /opt/maven maven:3.8.2-jdk-8 mvn -f /opt/maven/pom.xml clean package
docker-compose up -d --build --force-recreate
4. test registration