~/talk

The Science of Authenticating Angular Apps

Talkat AngularUP 2019 · on Wednesday, 2019-06-12· [security, angular]
slides:none on file

Compares cookie sessions (use when front end and API share a domain) versus token APIs (use when APIs are cross‑domain) and recommends the IETF best practice of Authorization Code with PKCE instead of tokens in URL. Warns don't store tokens in localStorage and instead keep tokens in memory and use the auth server cookie to silently obtain new tokens. Shows concrete Angular implementations: RxJS streams for auth state, HTTP interceptors & route guards (canActivate, canLoad) and guarded lazy loading.

AI-written summary · about

  1. 0:00Introduction to authentication
  2. 1:12Cookie-based authentication
  3. 4:06Token-based authentication
  4. 6:39Token storage security
  5. 9:05Modern token exchange flows
  6. 14:47Angular authentication to-do list
  7. 15:28Managing auth events with RxJS
  8. 17:17Sending tokens with HTTP interceptors
  9. 20:10Restricting routes with guards
  10. 25:10Summary and resources
~/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.