Password-less apps: implementing WebAuthN
summary
Live demo adds WebAuthN to a Spring Boot app: JavaScript calls navigator.credentials.create/get, server generates per-session challenge and stores it, the client returns base64 attestation/assertion which the app decodes and saves. Uses WebAuthn4J to validate signatures and attestation bytes, persists credential ID/public key and counter, supports Spring Boot + Spring Security session login and shows Touch ID / YubiKey and phone passkey flows. Demo has a few UI glitches but registration and authentication succeed end-to-end.
AI-written summary · about
chapters (10)
- 0:00Introduction to passkeys
- 2:10Demonstrating passkey use
- 5:41Key security concepts
- 7:46Protocol work flow
- 11:20Setting up the demo app
- 14:29Implementing registration
- 22:31Handling backend registration
- 32:37Implementing authentication
- 39:03Validating credentials
- 44:21Conclusion and Q&A
related talks
45mPassword-less apps: implementing WebAuthN
40mGoing passwordless with Web Authentication
43mPasskeys in practice: implementing passwordless apps
45mSecure your application with WebAuthn
49mA Passwordless Future! WebAuthn for Java Developers
01h 14mWebAuthn: Theory and practice
31mGetting Started with Passkeys and WebAuthn
39mPasswords are so 1990 - Sam Bellen - PHP UK 2022
