Auth for React.js APP
summary
Compares real authentication providers (Amazon Cognito, Google Firebase, Auth0) and recommends Auth0 once you approach ~50k active users based on features, price, and scale. Explains JWT redirect flows, using short‑lived ID tokens with refresh tokens stored in httpOnly cookies (vs localStorage), and discusses single‑tenant versus multi‑tenant tradeoffs. Presents a production implementation using custom React Hooks, claiming integration takes hours rather than weeks.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:32Don't write auth yourself
- 4:06Self-written auth problems
- 5:33Choosing Auth0
- 8:23Auth provider comparison
- 10:10Selecting auth service
- 11:55Auth in React
- 14:49JWT and its use
- 16:15Auth0 integration
- 18:45Auth hooks usage
- 21:14Auth service config
- 24:03Token storage tips
- 26:52Integration complexity
- 29:06Single-tenant vs multi-tenant
- 31:10Q&A
related talks
12mReact and Auth0 working together to build more secure apps
12mAuthentication and Authorization in Next.js
16mAdd authentication to your React app in 5 minutes with useAuth
27mAuthentication for the REST of us
09mBeyond the Login Page: Authentication in Next.js
14mLeverage Hybrid Apps for Secure Auth
01h 02mMastering Secure Login Mechanisms for React Apps
40mWhy are you still managing users? Identity has a cloud version
