Solution Review: Securing Blazor Pages
Explore how to implement and review a complete solution for securing Blazor pages using single sign-on. Learn the key steps to enable OpenID Connect redirection, configure ClientId and ClientSecret, and enforce authorization on Blazor components and Razor pages to protect your application endpoints.
We'll cover the following...
We'll cover the following...
Overview
The complete solution can be found in the following playground:
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}Final setup with the automatic OIDC authentication redirect
Solving the challenge
If we launch the playground by ...