-
-
Notifications
You must be signed in to change notification settings - Fork 333
Description
Hi all
I created a Blazor BFF client with an OpenIddict server. I think this is a good way of securing Blazor hosted in an ASP.NET Core application. It also makes it easier to define a strong CSP and other security headers as dynamic definitions can be used as well as removing the access tokens from the public part of the client, authenticating the client and removing the need for refresh tokens in the public part of the client. It also makes it possible to use SignalR in a more secure way (no need for an access token in the URL)
https://github.com/damienbod/AspNetCoreOpeniddict/tree/main/Blazor.BFF.OpenIddict
Let me know if you would like this and I'll create a PR next week, if not no problem, I know there is a lot of opinions here.
Greetings and happy new year Damien