Configuring SSO in Blazor Server
Explore how to configure OpenID Connect authentication in a Blazor Server application. This lesson guides you through adding required dependencies, setting up OIDC in the Program.cs file, and enabling login/logout links in Razor components. Understand the process of securing Blazor Server apps similarly to Razor Pages while applying authorization in individual components.
We'll cover the following...
We'll cover the following...
In this lesson, we will learn how to apply the OIDC authentication configuration in a Blazor Server application. We will do so by using the playground below:
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}Blazor Server app with the OpenID Connect flow