~/talk

Building JavaScript and mobile/native Clients for Token-based Architectures

Talkat NDC London 2017 · 2017-01-16..01-20· [security]
links:none on file
slides:none on file

Demonstrates building JavaScript and native clients that talk to IdentityServer using OpenID Connect/OAuth2, with concrete code using oidc-client.js for SPAs and a .NET native client library. Shows ID token validation steps (signature, exp, nonce, audience), access tokens delivered in the URL hash, additional profile via the userinfo endpoint, and silent renew using a hidden iframe for short-lived access tokens stored in sessionStorage. Explains native flow using the system browser, PKCE, custom URI schemes, refresh tokens stored in OS keychains, and why webviews are discouraged.

AI-written summary · about

  1. 0:00Intro
  2. 1:55The big Picture
  3. 3:07Security Protocols (11)
  4. 5:13Token-based Clients...
  5. 10:47Modern/Pure JavaScript apps
  6. 11:17No more cookies for security
  7. 13:14Discovery
  8. 15:21Authentication in JS-based apps
  9. 19:02Validating id tokens
  10. 26:14More identity data with user profile
  11. 28:47Using access token to call user profile
  12. 29:42Calling other web APIs
  13. 31:24Token management
  14. 33:16Renewing tokens
  15. 37:08Native Clients
  16. 37:53Using a web server for driving the authentication workflow
  17. 38:20Browser types
  18. 48:49OpenID Connect Hybrid Flow
  19. 52:04Requesting the access token
  20. 53:05Refreshing an Access Token
~/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.