This codebase is no longer working
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 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