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

Made with Slides.com