A Token Walks Into a SPA...
summary
Explains how JSON Web Tokens secure an Angular single‑page app by walking a real example: token header/payload/signature mapped to a driver’s license, token issuance on login, persistent storage options (localStorage, sessionStorage, cookie), and attaching tokens to requests via the HTTP client or, better, a global HTTP interceptor; shows using route guards for UX gating, gives a runnable demo and code links, and demonstrates server validation and common failure responses.
AI-written summary · about
chapters (18)
- 0:00Intro
- 0:24About me
- 0:50Application security
- 3:38Modern applications
- 5:19JSON Web Tokens
- 6:09Las Vegas
- 6:56Header
- 7:57Payload
- 9:30Security
- 11:34Identity
- 14:23Authentication
- 18:20Use Case
- 19:37HTTP Client Library
- 21:54HTTP Interceptors
- 23:50Route Guards
- 25:44Route Guard Example
- 26:11Summary
- 27:04Resources
related talks
43mA Token Walks Into a SPA...
24mA Token Walks Into a SPA
34mAuthenticating your single page apps using JSON Web Tokens
26mSecuring Single Page Applications with Token Based Authentication
40mKnock knock, who's there? Authenticating your single page apps using JSON Web Tokens
29mKnock knock, who's there? Authenticating your single page apps using JSON Web Token
37mKnock knock, who's there? Authenticating your single page apps using JSON Web Tokens
33mMake your Angular app a max security prison
