~/talk

The Role of Effects in NgRx Authentication

Talkat ng-conf 2020: Hardwired · 2020-04-01..04-03· [angular, security]
slides:none on file

Claims that Effects are the central control flow for NgRx authentication and not just API callers, with concrete recipes: use a login action whose Effect calls the auth SDK via a thin auth service with dispatch: false and tap to trigger the redirect; use a handleRedirect Effect (exhaustMap) that returns a payload of user and token and dispatches handleRedirectSuccess; let the reducer store token+user, then a second non-dispatching Effect navigates to the saved redirect URL.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Overview
  3. 3:17Effects
  4. 6:34Auth Service
  5. 8:30Login Effects
  6. 18:03Outro
~/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.