~/talk

Authentication from Scratch

Talkat Vue.js Amsterdam 2020 · 2020-02-20..02-21· [vue, security]
slides:none on file

Implements a token-based auth flow using JWT in localStorage and Vuex state, with the token copied into an Axios Authorization header for protected API calls. Builds registration, login and dashboard routes (three main pages), creates and consumes JWTs on the server side, and shows logout that clears state or forces a reload to wipe headers. Mentions route guards, error handling and a 72‑hour auto-login idea; the demo works end-to-end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:35What is Authentication
  3. 2:00Providers and protocols
  4. 2:24Overview
  5. 2:49JWT
  6. 3:07JWT Components
  7. 3:53Token Based Authentication
  8. 5:15Logout Solution
  9. 5:44Register
  10. 7:23Steps
  11. 7:46Code
  12. 11:34Dashboard
  13. 12:42Login component
  14. 13:17Login action
  15. 14:51Logout action
  16. 16:40Logging out
  17. 17:15Additional Authentication Steps
  18. 18:01Mastery Promotion
  19. 18:17Learning Path
  20. 18:45Vue Conferences
  21. 19:06Cheat Sheets
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.