The whirlwind tour of Authentication and Authorization with ASP.NET Core
summary
Live demo shows ASP.NET Core 2 wired for real authentication: configure cookie authentication for local users, handle registration/sign-in by issuing claims, and sign out with HttpContext.SignOutAsync. Social logins use external handlers plus a temp cookie flow to collect/mapping claims before creating a local account. Also configures Azure AD B2C with multiple policies and OpenID Connect, and a self-hosted IdentityServer + JWT bearer setup where SPA uses OIDC client to fetch access tokens and API accepts only bearer tokens. HTTPS and saveTokens caveats noted.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:45What youll learn
- 2:26Changing the view
- 2:46Demo
- 3:27Application overview
- 4:13Authentication builder
- 7:05Authentication controller
- 8:22Authentication claims
- 12:20Logging out
- 14:48Logging in
- 16:07Social logins
- 27:54Configuring external providers
- 29:46Azure AD B2C
- 36:31Azure AD Controller
- 43:01Identity Server Demo
- 50:53Identity Controller Demo
related talks
01h 04mImplementing Authentication and Authorization with ASP.NET Core 2
51mAuthentication and Authorization in ASP.NET Core 2
57mASP.NET Core Authentication and Authorization - the Key Concepts
49mDemystifying authentication in ASP.NET Core
59mASP.NET Core Authentication and Authorization - the Key Concepts
41mDemystifying authentication in ASP.NET Core
58mLet's talk Auth
39mA guided tour of ASP.NET core security
