Articles / Security in Blazor WebAssembly applications
Security in Blazor WebAssembly applications
Oct 12, 2020
Part 1: Securing Blazor WebAssembly with Identity Server 4
Views: 250
The new Blazor WebAssembly 3.2.0 includes support to client side authentication, which makes relatively simple to implement OpenID Connect and OAuth2 in your single page application. In other words, it means that we can finally build applications with the most recent industry standards in terms of security, enabling complex authentication scenarios and integrating them with the most widely used identity providers out there.
Speaking of identity providers, the most popular in...
more...
Oct 12, 2020
Part 2: Role-based security with Blazor and Identity Server 4
Views: 236
In a previous article we’ve introduced how authentication works in Blazor WebAssembly and we’ve seen a simple example on how to create a Blazor client, implement the login flow via Identity Server 4 and retrieve an access token to call a protected Web API.
However, every real-world application will sooner or later need to deal with user roles, in order to offer different functionalities to its users depending on what they...
more...