Mastering Secure Login Mechanisms for React Apps
summary
Demo shows a working React login implemented in minutes using the Asgardio React SDK wired to an Asgardio IDP with client ID and redirect URL, including sign‑in, sign‑out, user dropdown and in‑app native form. SDK handles OAuth2/OpenID Connect with PKCE, automatic token refresh, no client secret for SPA, and prevents common XSS/CSRF issues. Recommended token strategy uses web workers for token storage or a BFF; demo repo is published and the UI and session persistence work end to end.
AI-written summary · about
chapters (6)
- 0:00Introduction and overview
- 9:51Challenges in React login
- 20:57Live React login demo
- 43:47App-native login implementation
- 54:13Best practices for tokens
- 1:00:47Secure token storage methods
related talks
12mReact and Auth0 working together to build more secure apps
24mPasswordless with Web 3 and React
33mAuth for React.js APP
16mAdd authentication to your React app in 5 minutes with useAuth
27mMastering Secure Single Page Apps & APIs
07mInstall Auth to your React up in 4 minutes
09mBeyond the Login Page: Authentication in Next.js
44mJS adventures in Azureland
