Passkey & WebAuthn Flow Debugger
Step through WebAuthn registration and authentication flows — see exactly what the browser does,
what the server expects, and example JSON at each step. Build a real
PublicKeyCredentialCreationOptions
payload with fresh challenge, RP settings, and authenticator selection options.
Frequently Asked Questions
What is the difference between passkeys and passwords?▼
Passwords are shared secrets — you create one, the server stores a hash of it, and you prove you know it on login. This means password databases are breach targets and users reuse weak passwords. Passkeys use public-key cryptography: the device generates a key pair, keeps the private key in a secure enclave (never transmitted), and registers the public key with the server. Sign-in works by the device signing a server-issued challenge — there is no secret to steal from the server, and phishing is eliminated because the credential is scoped to the exact origin (domain).
What is the difference between WebAuthn and FIDO2?▼
FIDO2 is the umbrella standard from the FIDO Alliance that defines passwordless authentication. It has two components: WebAuthn (Web Authentication) is the W3C browser API — the JavaScript navigator.credentials.create() and navigator.credentials.get() calls. CTAP (Client-to-Authenticator Protocol) is the protocol between the browser and external authenticators (USB security keys, NFC cards). When you implement WebAuthn in your web app, you are using FIDO2. The terms are often used interchangeably. Passkeys are the user-friendly brand name for synced FIDO2 credentials (backed up to iCloud Keychain, Google Password Manager, etc.).
What are resident credentials (discoverable credentials)?▼
A resident credential (also called a discoverable credential or passkey) stores the user handle on the authenticator itself — alongside the private key. This enables usernameless authentication: the user visits your login page, taps 'Sign in with Passkey', and the authenticator presents matching credentials without the user typing a username first. Non-resident credentials require the server to know which credential IDs belong to the user (via allowCredentials) before the browser can proceed. Set residentKey: 'required' in authenticatorSelection to mandate discoverable credentials.
How do passkeys work across devices (cross-device authentication)?▼
Passkeys sync across a user's devices via cloud keychain providers: Apple syncs via iCloud Keychain across iPhone, iPad, Mac, and Safari on Windows. Google syncs via Google Password Manager across Android and Chrome. The private key is stored in the platform's secure enclave and only the encrypted key material is synced — the raw private key never leaves the device. For cross-device sign-in (e.g., signing into a laptop using a phone), WebAuthn uses Bluetooth proximity via CTAP 2.2 hybrid transport: the laptop shows a QR code, the phone scans it, and authentication completes over an encrypted BLE channel. This prevents remote phishing even in cross-device flows.
Related Products
on GumroadDevToolkit Starter Kit
A ready-to-deploy developer tools website with 12 built-in tools. Astro + Preact + Tailwind. Deploy to Cloudflare Pages for free. Built-in SEO, dark mode, and ad-ready layout.
Buy on Gumroad →TypeScript Quick Reference Toolkit
5 practical reference files for TypeScript developers: cheatsheet, TS vs JS comparison, 20 utility types with real examples, tsconfig best practices template, and 15 common mistakes guide. Print it. Keep it on your desk.
Buy on Gumroad →Developer Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →You Might Also Need
OAuth2 Flow Visualizer
Visualize OAuth2 authorization flows step by step. Compare Authorization Code, PKCE, Implicit, Client Credentials, and Device Code flows with JS code examples.
Open free tool →
OAuth2 Flow Debugger
Visualize OAuth2 authorization flows, decode JWT tokens, and inspect scopes for authorization code, implicit, client credentials, and device flows.
Open free tool →
HTTP Security Headers Generator
Generate HTTP security headers configuration for nginx and Apache. Configure HSTS, CSP, X-Frame-Options, Referrer-Policy, and more with toggle switches. Copy ready-to-use configs.
Open free tool →
More Free Tools
Related Articles
Passkeys and WebAuthn Implementation Guide 2026: Browser Support & UX Patterns
Implement passkeys and WebAuthn in 2026: browser support matrix, registration and authentication flows, server-side verification, UX best practices, and library recommendations.
Authentication Security Tools 2026: Modern Auth Patterns, MFA, Passwordless, and OAuth2
Complete guide to authentication security tools in 2026. Covers Auth0, Clerk, NextAuth.js v5, JWT security, Passkeys/WebAuthn, TOTP authenticator apps, OAuth2/OIDC, session management, and building secure auth systems with Node.js and Python.
Web Security in 2026: CSP, CORS, and Modern Auth Patterns
Master content security policy, CORS configuration, and WebAuthn passkeys. Practical security patterns for modern web applications.
Supabase Auth vs Clerk vs Auth0 vs Firebase Auth 2026
Complete comparison of the top authentication solutions for modern apps in 2026. Pricing, DX, Next.js integration, OAuth, MFA, magic links — pick the right auth for your project.
Web Authentication Patterns in 2026: OAuth, Passkeys, and JWT Best Practices
A complete guide to modern web authentication: OAuth 2.0/OIDC, Passkeys/WebAuthn, JWT best practices, session management, and MFA strategies for secure apps.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →