~/talk

JSON Web Tokens

Talkat DjangoCon US 2014 · 2014-08-30..09-06· [security]
links:none on file
slides:none on file

Shows how JWTs are a compact, URL-safe, signed token format (three base64url segments: header, payload, signature) and demonstrates building one with Python stdlib using a shared secret example abc123 and HMAC SHA-256 to compute the signature. Covers using PyJWT for encode/decode, a homemade Django auth package (v0.1, described as alpha) and the more mature djangorestframework-jwt (released with Django 1.7 support). Claims: stateless auth, no session store, no CSRF, works across domains, for mobile and WebSockets.

AI-written summary · about

  1. 0:00Introduction to JWT
  2. 1:24Use cases for tokens
  3. 3:33Benefits of token auth
  4. 5:23What is JWT standard
  5. 8:00Creating a token
  6. 12:03Signing and security
  7. 14:10Python library example
  8. 15:51Django integration
  9. 17:57Django REST framework
  10. 20:08Conclusion and Q&A
~/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.