mvn package
docker run --rm -it -p 8080:8080 -v ./target:/opt/keycloak/providers \
-e KC_BOOTSTRAP_ADMIN_USERNAME=admin -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin \
quay.io/keycloak/keycloak:latest \
start-dev
- Create a copy (Duplicate) of the Browser flow.
- Remove the original Kerberos action.
- Add the
Kerberos Chopper
step. - Configure it (gear icon); adjust the number of bytes to chop off.
- Under the
Advanced
tab in the client's configuration, changeBrowser Flow
to the new flow under theAuthentication flow overrides
. - Voila.
Lars Wilhelmsen
MIT