~/talk

Authentication for the REST of us

Talkat NationJS Frontrunners 2019 · on Friday, 2019-05-10· [serverless, security, nodejs]

Progressively adds authentication to a barebones web app, showing concrete code that issues JWTs with HS256, signs them with the jsonwebtoken Node module, and returns tokens from a serverless endpoint using Netlify Functions. Demo generates tokens, demonstrates authorization bearer headers versus a serialized NF_JWT cookie, encodes roles and claims, and sets expirations. Demo works live and the code shows generateJWT, set-cookie, and fetch flows. Strong warning: do not roll your own auth and consider providers like Auth0 Okta or GoTrue.

AI-written summary · about

  1. 0:00Intro
  2. 1:14Phyto Alliance
  3. 1:57About Divya
  4. 2:38Authentication Panic
  5. 3:04Why Authentication Matters
  6. 3:51Authorization
  7. 5:06Basic Authentication
  8. 6:35Multiple Authentication
  9. 7:20Session Based Off
  10. 8:50Token Based Off
  11. 9:54JSON Web Tokens
  12. 12:58Demo
  13. 14:51Workflow
  14. 16:00Servers
  15. 16:27Authentication Options
  16. 16:58Authentication Endpoint
  17. 17:21Authentication Main
  18. 17:53EventUpBody
  19. 18:27GetExpiry
  20. 18:52GenerateGWT
  21. 20:03Authorizations
  22. 21:08Cookie Library
  23. 22:04SetCookieHitter
  24. 23:05Image Optimization
  25. 23:54Redux Store
  26. 24:38Temp Login
  27. 25:04Confirmation
  28. 25:56Login
~/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.