WebAuthn Passkey
A WebAuthn passkey is a public-key sign-in credential that resists fake login sites. Depending on the provider and authenticator, it may sync across devices or stay on one device.
Another example
A customer adds a passkey after signing in again. The server stores the credential ID and public key. It sends a new challenge tied to `howtovibeui.com`. It checks the origin, RP ID, challenge, signature, and user verification. A lost device is handled with another passkey or a reviewed recovery flow, not a security question.
Main parts
- 01Relying party and origin
- 02Authenticator credential key pair
- 03Fresh challenge and assertion verification
Use it when
Offer passkeys for normal or extra-secure sign-in. Include safe setup, a way to manage several credentials, and account recovery.
Do not use it when
Do not claim every passkey stays on one device or skip server challenge checks. Never remove the last recovery path without clear confirmation.
Name used in code
navigator.credentials.create/get with PublicKeyCredential + server-side challenge/origin/RP/signature validation Before you ship
Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.
Outcome: Design or review WebAuthn Passkey for this system while keeping data correct, secure, and easy to operate. User context: A customer adds a passkey after signing in again. The server stores the credential ID and public key. It sends a new challenge tied to `howtovibeui.com`. It checks the origin, RP ID, challenge, signature, and user verification. A lost device is handled with another passkey or a reviewed recovery flow, not a security question. Technical concept or control: WebAuthn Passkey. Why it fits: Offer passkeys for normal or extra-secure sign-in. Include safe setup, a way to manage several credentials, and account recovery. Do not use it when: Do not claim every passkey stays on one device or skip server challenge checks. Never remove the last recovery path without clear confirmation. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary): It is official for that source. Other platforms or teams may use the term in another way. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.
Check this request
Review the current use of WebAuthn Passkey. Definition: A WebAuthn passkey is a public-key sign-in credential that resists fake login sites. Depending on the provider and authenticator, it may sync across devices or stay on one device. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, report the evidence you found, gaps, severity, and the smallest safe fix.