Who Are Vue? Authn In Vue, The Important Parts
summary
Demonstrates a working Vue 3 SPA with Vue Router that authenticates against a mocked Express backend using jsonwebtoken and axios, protecting a dashboard route via router meta and server-signed JWTs. Shows token flow: server issues JWT on login, demo stores it in localStorage then switches to HTTP-only cookie to avoid XSS risk. Recommends rate limiting and generic error messages, mentions alternatives like passkeys and using an auth provider or Auth SDKs instead of DIY.
AI-written summary · about
chapters (9)
- 0:00Authentication in Vue
- 1:54Why auth matters
- 4:49Auth versus authorization
- 6:34Login flow in Vue
- 13:22Token auth with JWT
- 18:26Secure token storage
- 20:11Auth tools in Vue
- 21:16Key takeaways
- 22:41Q&A
related talks
28mWho are vue? Authn in Vue, the important parts
11mVue.js: Building Secure Applications
20mAuthentication from Scratch
10mGetting Started: Amplify Authenticator for Vue
02h 31mPractical NuxtJS
35mVue Fortified: Best Practices for Web App Security
30mThe Laravel developer's guide to Vue SPAs
40mNavigating Nuxt 3's Authentication Landscape
