Securing Blazor Server
Learn how to secure Blazor Server applications with single sign-on.
As the Blazor Server is a server-hosted ASP.NET Core application that can securely connect to any type of data storage, we have multiple options when it comes to securing the application by applying user authentication and authorization. We can outsource the whole authentication process to an external application by using SSO. Alternatively, if we intend to apply security to only one application, we can build its own authentication mechanism into the application itself.
In this lesson, we will cover the process of securing Blazor Server applications by using its own built-in user database. We will do so with the help of the project below. This project is based on the default Blazor Server project template that has the Individual Accounts authentication option configured. We will look at how the security configuration is added to the project.
Get hands-on with 1400+ tech skills courses.