#403 Passkey autofill on the sign-in form (conditional mediation)
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#403
- issue
- state:closed
Follow-up to #372 / #402. Passkeys can now be used as a second factor and, with \`PASSKEY_SIGN_IN\`, through the **Sign in with a passkey** button on \`/login\`. Browsers also support *conditional mediation*: the username field (\`autocomplete="username webauthn"\`) offers the site's passkeys in its autofill list, with \`navigator.credentials.get({ mediation: 'conditional' })\` pending while the page is open. That needs a sign-in challenge that lives as long as the page does (the current one lasts five minutes and is used once), so the page would fetch a new one when it expires or after a failed attempt, and an abort of the pending request before the button or password form is used. Optional, too: show the authenticator's model name from its AAGUID (stored since #372, unverified) beside each passkey on the account page. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://github.com/openchronology/timeline-app/issues/403
Related
Open #403 Passkey autofill on the sign-in form (conditional mediation) in the timeline