Kyle Whitaker


Don't let user authentication stop you from building your web app!
π github.com/kylewhitaker/codemash-2023
π½ slides.com/kylewhitaker/user-authentication
story
2
about
1
demo: AWS
3
talk: MFA, social
4
wrap
5
about
1
wrap
5
story
2
demo: AWS
3
talk: MFA, social
4



Sr. Software Engineer
since July '22
MBA Candidate
Aug '21 - May '24
IT Intern - Sr. SWE
Jan '15 - July '22


Nov. 2019: EPIC FAIL
2020: Learn AWS
March 2021: Redemption!
Storytime
Don't let user auth stop you!
about
1
wrap
5
story
2
demo: AWS
3
talk: MFA, social
4
Give you the confidence and aΒ tool by which to conquer user authentication in your web apps!
Goal
Task
Sign Up
Log In
Home
Task
Tool

amazon-cognito-identity-js
AWS SDKs
AWS Cognito
React, Express, Postgres
Amplify
JWTs
All the Things
about
1
wrap
5
story
2
demo: AWS
3
talk: MFA, social
4
MFA
Cognito User Pool setup
Social
Amplify docs
Cognito User Pool setup
Amplify docs
OTP
Meh, don't do it.
One study 76% prefer passwords
What's the 2nd factor?
Passport.js
Client authenticates with your server
Session created server-side, cookies sent back to client
E2E Testing
TOTPs cannot be mocked!
MailSlurp, SendGrid (email)
Twilio (SMS)
auto-verify email/phone
talk testing
2
about
1
cypress
3
playwright
4
wrap
5
π github.com/kylewhitaker/codemash-2023
π½ slides.com/kylewhitaker/user-authentication
User Authentication (CodeMash '23)
By Kyle Whitaker
User Authentication (CodeMash '23)
- 70