~/talk

Microsoft, Google and Cookie Authentication and Authorization

Talkat .NET Conf: Focus on Blazor 2020 · on Tuesday, 2020-01-14· [security, dotnet]
slides:none on file

Shows runnable Blazor Server and WebAssembly examples that actually log in: uses Visual Studio templates, local DB migrations for Identity, Azure AD app registration with SSL redirect, and Google OAuth with client ID/secret. Implements a custom AuthenticationStateProvider that calls a server /user endpoint, adds Microsoft.AspNetCore.Components.Authorization and Azure/Google auth NuGet packages, and demonstrates cookie auth where the cookie must be passed in headers for server controllers. All demos build and keep the user signed in until sign out.

AI-written summary · about

  1. 0:00Introduction to Auth
  2. 1:28Server-side Microsoft Auth
  3. 7:40Client-side Azure AD Auth
  4. 16:44Google Auth Setup
  5. 21:09Custom Cookie Auth
  6. 25:29Q&A and Conclusion
~/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.