~/talk

Authentication and Session Management in FastBoot

Talkat EmberCamp London 2016 · on Tuesday, 2016-07-12· [security, ember]
slides:none on file

Demonstrates that FastBoot needs the auth token on the server for initial render and solves it by storing the token as a cookie so the server can forward it to the API, using the ember-cookies abstraction to read cookies both in Node and the browser. Uses an HTTP-only cookie set by the API (no JS access), nginx to share domains, FastBoot reads the cookie and sends an Authorization header, unauthenticated loads become 307 redirects, demo runs locally but the GitHub example branch wasn’t pushed yet, watch for CSRF with cookie auth.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Authentication basics
  3. 3:15Token-based auth without FastBoot
  4. 5:03What is FastBoot
  5. 6:29FastBoot auth flow
  6. 8:15Session cookies in FastBoot
  7. 10:23ember-cookies addon
  8. 11:07Live demo setup
  9. 13:14Demo authentication
  10. 14:16Cookie flags and domains
  11. 16:06Fixed domain example
  12. 17:07Simplified session service
  13. 18:32FastBoot vs browser logic
  14. 20:47Cross-site request forgery
  15. 23:58FastBoot security notes
  16. 24:41Summary and wrap-up
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.