~/talk

Implementing Authentication and Authorization with ASP.NET Core 2

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [security]
slides:none on file

Walks through a working ASP.NET Core 2 demo app that implements cookie auth, cookie + social (Facebook/Twitter) with a temp cookie flow, Azure AD B2C profiles (uses the TFP claim to pick sign-in/sign-out scheme), and a self-hosted IdentityServer (no UI by default). Shows code for AddAuthentication, app.UseAuthentication, JWT bearer for APIs, OIDC-client.js for SPA pop-up sign‑in, and the pitfall that APIs return 401 until switched to bearer tokens. All demos run live and the patterns shown work as implemented.

AI-written summary · about

  1. 0:00Start
  2. 4:43add different types of authentications
  3. 8:17add a cookie configuration
  4. 28:56add another handler
  5. 33:18register a new user in the system
  6. 50:48configure your identity
  7. 58:18verify an access token
  8. 59:24add a sign-in button and a sign out button
~/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.