Testing Passwordless Authentication Flows
summary
Step-by-step methods for testing email magic links, SMS OTPs and WebAuthn/passkeys with concrete tools and code: use Cypress + mosur to provision test inboxes and phone numbers, capture a magic link or OTP and complete a headless end-to-end login; leverage the Chrome DevTools protocol to create virtual authenticators and run WebAuthn registration/assertion flows in tests; note the claim that 82% of breaches stem from poor passwords and that Google is rolling passkeys to default—example Cypress tests and a demo repo are linked on GitHub.
AI-written summary · about
chapters (7)
- 0:00Introduction to the team
- 0:43The rise of passwordless
- 2:01Testing email magic links
- 5:13Testing SMS passcodes
- 7:55WebAuthn and passkeys
- 12:58Testing WebAuthn
- 17:01Conclusion and resources
related talks
30mGoing Beyond Passwords: The Future of User Authentication
17mGoing Beyond Passwords: The Future of User Authentication
47mThe state of passwordless auth on the web
30mThe State of Passwordless Auth on the Web
40mGoing passwordless with Web Authentication
55mYou Shall Not Password: Modern Authentication for Web Apps
10mStrategies for testing Authentication and Authorization Flows
41mThe state of passwordless auth on the web
