/BlazorAuth

A sample showing how to add ASP.NET Core Identity auth options to the basic Blazor app.

Primary LanguageC#MIT LicenseMIT

BlazorAuth

A sample showing how to add ASP.NET Core Identity auth options to the basic Blazor app.

Features

  • Adds ASP.NET Core Identity with Default UI for login, etc.
  • Demonstrates use of AuthorizeView
  • Demonstrates use of CascadingAuthenticationState in App.razor
  • Demonstrates adding role support to app in Startup.cs
  • Demonstrates use of Claims
  • Demonstrates using Claims to drive Policies
  • Use of [Authorize] attribute in Razor Server pages

Related Docs

Related Stack Overflow Questions

Other Resources