DeepSeek V4 Pro · Balanced

fixing-re-authentication-with-passkeys-keycloak

Keycloak · Java · S · 30–99 lines · 6 files

The normal review, with one generalist agent. Judge: Claude Opus 5.5.

Gold bugs found
1 of 2
Comments published
1
Comments matching a bug
1
Comments not matching
0
Cost of this PR
$0.591

Published comments (1)

highbugthemes/src/main/resources/theme/keycloak.v2/login/login-password.ftl:18

Base theme login-password.ftl missing passkey conditional UI include — Realms using the base theme silently lose passkey re-authentication because this template still renders only the password field. Add the same `<@passkeys.conditionalUIData />` include here as in `themes/src/main/resources/theme/base/login/login-password.ftl`.

Gold bugs found (1)

highPasswordForm now accepts passkey-only users, but only the keycloak.v2 login-password.ftl renders the passkeys conditional UI; the base template (used by the legacy keycloak theme) does not, so a passkey-only user is shown a password-only form they cannot complete.

Gold bugs missed (1)

mediumlogin-password.ftl now renders the passkeys macro, making reachable an error path where fillContextForm sets enableWebAuthnConditionalUI but returns before setting isUserIdentified/userVerification, so passkeys.ftl fails to render and a FreeMarker error replaces the login page.