Manage the CCCHH browser authentication flow as YAML #150

Closed
stb wants to merge 5 commits from keycloak-browser-flow into main
Owner

Adds a keycloak_auth_flow role that locally validates flow
definitions (structure, nesting depth, known provider IDs, and a set
of Keycloak authentication-flow gotchas before deploying them idempotently via
middleware_automation.keycloak.keycloak_authentication_v2.

Includes the CCCHH realm's actual "browser passkey and token" flow
(the realm's real browserFlow binding, not the untouched built-in
"browser" flow), exported from the live server so it's now reviewable
and redeployable from this repo instead of only editable in the
Keycloak admin console.

For review, concentrate on the second commit; the vendoring of middleware_automation.keycloak is huge.

Closes #148

Adds a keycloak_auth_flow role that locally validates flow definitions (structure, nesting depth, known provider IDs, and a set of Keycloak authentication-flow gotchas before deploying them idempotently via middleware_automation.keycloak.keycloak_authentication_v2. Includes the CCCHH realm's actual "browser passkey and token" flow (the realm's real browserFlow binding, not the untouched built-in "browser" flow), exported from the live server so it's now reviewable and redeployable from this repo instead of only editable in the Keycloak admin console. For review, concentrate on the second commit; the vendoring of middleware_automation.keycloak is huge. Closes #148
Needed for keycloak_authentication_v2, to manage Keycloak
authentication flows (e.g. the CCCHH browser flow) as YAML.
Chosen over community.general's own copy of the module (deprecated in
favor of this collection, and limited to 4 sub-flow levels there vs.
10 here).
Manage the CCCHH browser authentication flow as YAML
All checks were successful
/ build (pull_request) Successful in 47s
/ Ansible Lint (push) Successful in 5m31s
/ Ansible Lint (pull_request) Successful in 4m35s
32b5f147bc
Adds a keycloak_auth_flow role that locally validates flow
definitions (structure, nesting depth, known provider IDs, and a set
of Keycloak authentication-flow gotchas: conditions silently ignored
outside a Conditional subflow, keycloak/keycloak#29515's OTP+WebAuthn
sibling bug, conditional-credential config shape/semantics, and more)
before deploying them idempotently via
middleware_automation.keycloak.keycloak_authentication_v2.

Includes the CCCHH realm's actual "browser passkey and token" flow
(the realm's real browserFlow binding, not the untouched built-in
"browser" flow), exported from the live server so it's now reviewable
and redeployable from this repo instead of only editable in the
Keycloak admin console.
You can view your changes at https://staging.infra-docs.hamburg.ccc.de/pr150/
Merge remote-tracking branch 'origin/main' into keycloak-browser-flow
All checks were successful
/ build (pull_request) Successful in 29s
/ Ansible Lint (pull_request) Successful in 5m49s
/ Ansible Lint (push) Successful in 6m36s
f49fb34587
Merge branch 'main' into keycloak-browser-flow
All checks were successful
/ build (pull_request) Successful in 29s
/ Ansible Lint (push) Successful in 6m6s
/ Ansible Lint (pull_request) Successful in 7m11s
/ cleanup-staging (pull_request) Successful in 3s
252a721c74
Author
Owner

Everybody but me is happy managing this in the Keycloak GUI.

Everybody but me is happy managing this in the Keycloak GUI.
stb closed this pull request 2026-11-18 13:18:28 +01:00
All checks were successful
/ build (pull_request) Successful in 29s
Required
Details
/ Ansible Lint (push) Successful in 6m6s
Required
Details
/ Ansible Lint (pull_request) Successful in 7m11s
Required
Details
/ cleanup-staging (pull_request) Successful in 3s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.