pkSignIn
A WebAuthn / FIDO2 passkey demo built around a hardware security key, with TOTP and recovery-code fallbacks and a live ceremony debug panel.
Register a YubiKey, sign in with or without a username, and see the options sent to the browser and the authenticator's raw response for every ceremony. The options that actually change behavior between devices are controls in the UI rather than constants in the code.
Two fallbacks for when the key is elsewhere or gone: an authenticator app, with TOTP implemented from RFC 6238 and checked against its published test vectors, and single-use recovery codes. The same sign-in model now protects this site's admin.
NODE.JS
NEXT.JS
REACT
TYPESCRIPT
TAILWIND
SHADCN/UI
2026