AuthenticationWithClientSideBlazor icon indicating copy to clipboard operation
AuthenticationWithClientSideBlazor copied to clipboard

This codebase is no longer working

Open SpireTechnical opened this issue 5 years ago • 1 comments

The sample project no longer works. It would be nice to get a workable example that will operate with the current released version of Blazor WebAssembly. Though, I must admit at this point, I don't feel Microsoft has a good handle on this solution.

SpireTechnical avatar Oct 03 '20 19:10 SpireTechnical

@SpireTechnical It works for me with Core v5.04. I made some minor changes to adapt it to my application and to the latest Blazor hosted Webassembly template.

The only main change I made is rather than using

[Authorize] [ApiController]

I used: [Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)] [ApiController]

If you have a specific error or issue let me know. There is a pull request to update the code base to .NET 5

vankampenp avatar Mar 26 '21 19:03 vankampenp