GLM-5.3 · Heavy
fixing-re-authentication-with-passkeys-keycloak
Keycloak · Java · S · 30–99 lines · 6 files
The generalist plus 9 specialist lens agents in parallel, then the same verify and dedup steps. Judge: Claude Haiku 5.5.
- Gold bugs found
- 0 of 0
- Comments published
- 3
- Comments matching a bug
- 0
- Comments not matching
- 3
- Cost of this PR
- $2.760
Published comments (3)
PasswordForm advertises passkey support that base theme's password page cannot render — Base-derived themes lack the `passkeys.conditionalUIData` include in their `login-password.ftl`, so `configuredFor` admits passkey-only users the rendered page cannot serve — they get neither passkey UI nor a password field. Add the include to the base template or drop the `isConditionalPasskeysEnabled` clause. **Also found in:** - `services/src/main/java/org/keycloak/authentication/authenticators/browser/PasswordForm.java:51-54`
Passkey conditionalUIData macro 500s password page when required vars unset — For users without a passwordless credential, `WebAuthnAuthenticator.fillContextForm` returns null before setting `isUserIdentified` and `userVerification`, so `passkeys.ftl` interpolation throws and the login flow dies with a 500. Guard the include on those variables or default them in the macro.
Registered passkey credential IDs leaked to unauthenticated visitors — Before authentication, anyone submitting a known username now receives hidden inputs listing that user's passkey `credentialId` values and authenticator labels. Restrict the `authn_select` form — and the `authenticators` attribute behind it — to genuine re-authentication sessions. **Also found in:** - `services/src/main/java/org/keycloak/authentication/authenticators/browser/PasswordForm.java:50-57`
Gold bugs found (0)
None.
Gold bugs missed (0)
None.