Authentication and Authorization in Blazor Applications
In this course you'll learn how to secure your Blazor application using a variety of best practice techniques for authentication and authorization.
What you'll learn
Authentication and authorization are two incredibly important aspects of a secure Blazor application. In this course, Authentication and Authorization in Blazor Applications, you'll learn how to secure your Blazor application using a variety of best practice techniques for authentication and authorization. You'll learn how to log in and out of your Blazor application with cookies; explore how to work with ASP.NET Core Identity; examine how to implement token-based security for your Blazor application using OAuth2 and OpenID Connect; and discover how to deal with authorization, including how to create and use authorization policies, among other things. By the end of this course you'll be comfortable implementing best-practice security techniques in Blazor applications.
Table of contents
- Coming Up 1m
- Course Prerequisites 1m
- Frameworks and Tooling 1m
- Blazor Authentication Scenarios 3m
- Demo - Introducing the Demo Application 2m
- Demo - Adding Cookie Authentication and Logging In 10m
- Demo - Logging Out 3m
- Cookie Authentication in Blazor 4m
- Demo - Getting the Authenticated User 2m
- Demo - Hiding or Showing Parts of the UI Depending on the Authentication State 3m
- Explaining the AuthenticationStateProvider 1m
- Demo - Blocking Unauthorized Access to a Page 2m
- Demo - Customizing Unauthorized Content 1m
- Demo - Using Authentication State Data in Procedural Logic 3m
- Protecting the API 3m
- Overview of Authentication-related Concepts 2m
- Summary 2m
- Coming Up 1m
- Positioning ASP.NET Core Identity 1m
- Demo - Scaffolding ASP.NET Core Identity into a Blazor Application 8m
- Demo - Authenticating with ASP.NET Core Identity (Part 1) 6m
- Demo - Including an AntiForgeryToken for POST Requests 4m
- Demo - Authenticating with ASP.NET Core Identity (Part 2) 2m
- Issues with Cookie-based Authentication 1m
- Summary 1m
- Coming Up 1m
- Token-based Authentication with Blazor 6m
- Demo - Inspecting IdentityServer 3m
- Authentication with an Identity Token 4m
- Demo - Logging In 9m
- Demo - Logging Out 3m
- Authorization with an Access Token 1m
- Demo - Protecting the API 7m
- Demo - Demo - Passing an Access Token to Our API 4m
- What’s Next? 1m
- Summary 2m