Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This codebase is no longer working #11

Open
SpireTechnical opened this issue Oct 3, 2020 · 1 comment
Open

This codebase is no longer working #11

SpireTechnical opened this issue Oct 3, 2020 · 1 comment

Comments

@SpireTechnical
Copy link

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.

@vankampenp
Copy link

vankampenp commented Mar 26, 2021

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants