One password to rule them all (for a few minutes)
summary
One-time-password-only email login uses six-digit numeric codes sent via SendGrid, implemented in C#/.NET with MJML for templating and Redis for short-term storage, and it creates sessions on success so users can save trips. Security choices: 10 minute expiry, three attempts, and a browser-ID GUID cookie so login must complete in the same browser. RNG is cryptographically safe (not Random.Next), updates are required, and the system ships and works in production at Rome2Rio while avoiding stored passwords.
AI-written summary · about
chapters (14)
- 0:00Introduction and welcome
- 1:51Talk clarifications and disclaimers
- 2:56What this talk is about
- 4:23Why discuss one-time passwords
- 7:29Authentication vs authorization
- 9:37Focus on authentication
- 9:59Project background and JWTs
- 13:54Why not just Google or Apple sign-in
- 16:05Benefits of one-time passwords
- 25:21One-time password demo
- 27:50Technical implementation
- 29:54Security measures for OTPs
- 37:22Lessons learned and pitfalls
- 39:48TL;DR summary
