Custom Authenticator implementation to be used as a reference. This sample sends a custom error message when the user is locked.
mvn clean package
cp target/*.jar $KEYCLOAK_HOME/standalone/deployments/
- Go to Authentication menu
- Create o edit a custom flow
- Add execution
- Pick up from the list the Custom Authenticator