~/talk

Knock knock, who's there? Authenticating your single page apps using JSON Web Tokens

Talkat foss-north 2019 · 2019-04-07..04-10· [security, web-platform]
slides:none on file

Explains exactly what a JWT contains and how to use one: the header/payload/signature structure, how signatures prevent tampering, and how to verify tokens via a jwks endpoint. Demonstrates a single‑page app + Auth0 using OpenID Connect to return ID and access tokens and shows calling an API with a Bearer token. Recommends the authorization code with PKCE flow, stores tokens in memory not localStorage, and warns that revocation still requires a blacklist or server state.

AI-written summary · about

  1. 0:00Start
  2. 2:33Traditional Authentication
  3. 4:45What Are some of the Problems with Traditional Cookie Based Approach
  4. 6:56Json Web Tokens
  5. 7:11Parts of Json Web Token
  6. 7:57Payload
  7. 8:51Public Claim
  8. 9:23Private Claims
  9. 9:46Signature
  10. 16:07Are There some Downsides to the Json Web Tokens
  11. 16:22Invalidation of Tokens
  12. 17:00Token-Based Authentication
~/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.