~/talk

The science of authenticating Angular apps

Talkat AngularConnect 2019 · 2019-09-19..09-20· [angular, security]
slides:none on file

Explains concrete recommendations: use PKCE code flow so the browser receives a harmless code then redeems it for tokens, avoid don't store tokens in localStorage and keep tokens in memory while using an auth-server session cookie to silently refresh, use RxJS observables and available SDKs to wrap callbacks/promises, attach tokens with HTTP interceptors, and protect routes with guards including CanLoad to prevent lazy modules from downloading when unauthorised; ag-Grid is listed as sponsor.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13Authentication
  3. 4:24Why not cookies
  4. 5:09Crossorigin
  5. 7:05Tokens
  6. 10:16OAuth 20 history
  7. 15:31Should you use OAuth 20
  8. 16:17How does Angular help
  9. 17:08Managing authentication events
  10. 19:55Sending the token with API requests
  11. 23:35Route guards
~/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.