AdrienTorris / awesome-blazor

Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
Creative Commons Zero v1.0 Universal
8.64k stars 954 forks source link

Authentication suggestion for blazor wasm with OIDC and Keycloak #664

Closed wildermedeiros closed 2 weeks ago

wildermedeiros commented 1 month ago

This steps provides instructions for setting up a standalone Blazor WebAssembly application using OpenID Connect (OIDC) authentication with Microsoft Identity and Keycloak.

Explain why an asset or resources deserves to be added to the list:

I didn't see any resource like this in the list and I would also like to share the way in which tokens are manipulated and can be accessed, especially the roles that are defined in keycloak, that might be useful to other people too.