How Biometric Login Decides: Capture, Template, Threshold, Fallback
Biometric login is a local match against a stored template, not a secret kept on a server. Follow capture, template, threshold, and fallback to see where each decision happens.
Loading…
Topic
5 posts about Passkeys. Every summary links to the original.
See the idea
Biometric login is a local match against a stored template, not a secret kept on a server. Follow capture, template, threshold, and fallback to see where each decision happens.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Twilio Verify traditionally handles carrier-based OTP channels like SMS and voice, but also supports software channels including Passkeys, TOTP, and Push. Building these channels in-house requires managing FIDO2 relying party logic, CBOR parsing, TOTP seed storage equivalent to password hashes, and push notification lifecycle with key rotation. Verify abstracts these burdens through unified APIs: Passkey registration and verification each take two API calls, TOTP factors return a binding URI for QR code rendering and support secret migration, and Push challenges support silent approval with active polling for delayed notifications. Adding a software channel does not require a new integration; it is a Factor call against an existing Entity within the same Service configuration, providing one object model, combined audit trails, and centralized factor inventory. The platform handles cryptographic compliance, cross-platform origin validation, and credential custody while leaving client implementation, domain association files, and cross-channel policy decisions to the developer.
Passwords alone are insufficient for Customer Identity and Access Management (CIAM) because attackers test reused, stolen credentials at scale. Legacy multi-factor authentication (MFA) factors like SMS, email, and TOTPs are also vulnerable; commodity phishing kits use Adversary-in-the-Middle reverse proxies to intercept session cookies even after a user completes a second-factor prompt. Underground markets sell credential stuffing configuration files for as low as $5.99, and AI coding agents can now generate working configs from natural language prompts. Auth0’s Credential Guard detects compromised credentials within hours of a leak and can block them at login, signup, and password reset. The recommended solution is migrating to passkeys, which use cryptographic key pairs bound to the origin domain and are fundamentally immune to phishing and credential stuffing.
Passwords remain the most common authentication method but are responsible for over 80% of data breaches due to reuse and predictability. Passwordless alternatives such as token-based authentication, certificate-based authentication, SMS OTP, email magic links, and biometrics each offer improved security but come with their own trade-offs in cost, deployment complexity, or vulnerability to phishing. Passkeys, built on the WebAuthn standard and FIDO, use public key cryptography to verify identities, with a private key stored on the user’s device and a public key on the service’s server. They eliminate password reuse, reduce phishing and credential stuffing risks, and improve login speed and user experience. However, passkeys face challenges in syncing across operating systems, and service providers can manage fallback options like SMS OTP through APIs such as Twilio Verify.
Uber rolled out passkey authentication across mobile apps and websites, allowing users to sign in without passwords. Passkeys use a device-generated public-private key pair: the server stores the public key, while the device’s password manager protects the private key and requires biometric, PIN, or pattern authorization. Registration sends creation options and a challenge to the authenticator, which returns an attestation for server validation; sign-in similarly returns a signed assertion that the server verifies with the stored public key. This design keeps private keys and user authorization data on the authenticator, improving resistance to phishing, credential stuffing, brute force, and replay attacks. Uber reported low initial adoption and noted inconsistent browser and device support, user education needs, and technical complexity; it plans to use adoption data and post-authentication prompts to improve onboarding.
Passwords and SMS one-time passwords are presented as vulnerable authentication methods, while the post explains how FIDO and W3C standards support passwordless, phishing-resistant sign-in. It contrasts passwords, SMS OTP, TOTP, and U2F security keys, then introduces FIDO2, which combines WebAuthn with CTAP2 and asymmetric cryptography. The registration and authentication walkthrough describes the Relying Party, client, server, browser, and authenticator interactions, including device-based PINs and biometrics. Passkeys build on WebAuthn and can work across compatible browsers and devices, with migration within some vendor ecosystems described as an additional convenience. Developers can call navigator.credentials.create and navigator.credentials.get directly or use libraries, while Identity Providers such as Okta can provide FIDO2 support through configuration.
The best engineering reads, once a week.