Passkeys in the sign-in form's autofill (conditional mediation)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
/login's username field is marked `autocomplete="username webauthn"` and, where the browser supports conditional mediation and PASSKEY_SIGN_IN allows signing in with a passkey alone, the page keeps a conditional request pending; picking a passkey from the autofill signs in through the same options and sign-in routes as the "Sign in with a passkey" button. Challenges keep their five minutes and single use: the page fetches a new one 30 seconds before the old one expires, at once after a refused attempt (then with a growing wait), and when it comes back into view with a stale one. A hidden page asks for nothing, so an open page costs about one options request every four and a half minutes. The pending request is aborted before the button's request, a password sign-in, leaving the form or the page. Closes #403 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/684ccc9b94c783ac8e412390e7fd3a15b77df9c7
Related
Open Passkeys in the sign-in form's autofill (conditional mediation) in the timeline