~/talk

A Token Walks Into a SPA...

Talkat WebCamp Zagreb 2018 · 2018-10-05..10-06· [security, javascript]
slides:none on file

Compares a driver’s license to a JWT and shows a concrete SPA flow: authentication server issues an access token, the SPA stores token in memory and sends it with Axios as a Bearer header to API endpoints guarded by an Express check JWT middleware. Recommends not using localStorage/cookies for tokens, uses a secure session cookie on the auth domain plus silent auth via iframe to renew short-lived RS256-signed tokens. Notes token size (~300+ bytes) and suggests a server-side blacklist for revocation.

AI-written summary · about

  1. 0:00Introduction to SPA security
  2. 2:25Traditional vs modern app security
  3. 6:42JSON web tokens explained
  4. 8:08Real-world token analogy
  5. 17:40Token auth in SPAs
  6. 22:34OAuth2 flow with SPAs
  7. 25:46Storing tokens securely
  8. 27:13Silent authentication
  9. 28:39Additional JWT resources
  10. 30:09Security considerations
  11. 31:14Summary and closing
~/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.