GLM-5.3 · Balanced
fixing-re-authentication-with-passkeys-keycloak
Keycloak · Java · S · 30–99 lines · 6 files
The normal review, with one generalist agent. Judge: Claude Haiku 5.5.
- Gold bugs found
- 0 of 0
- Comments published
- 1
- Comments matching a bug
- 0
- Comments not matching
- 1
- Cost of this PR
- $1.402
Published comments (1)
highbugservices/src/main/java/org/keycloak/authentication/authenticators/browser/WebAuthnConditionalUIAuthenticator.java:49-57
Passkey error response crashes when identified user has no passwordless credentials — When the passkey credential disappears between render and submit, `fillContextForm` returns early without setting `IS_USER_IDENTIFIED`, so the error page throws on undefined `${isUserIdentified}` in `passkeys.ftl`. Set `IS_USER_IDENTIFIED` and `USER_VERIFICATION` before that early return in `WebAuthnAuthenticator.fillContextForm`, or skip `ENABLE_WEBAUTHN_CONDITIONAL_UI` in `createErrorResponse` for users without passwordless credentials.
Gold bugs found (0)
None.
Gold bugs missed (0)
None.