CrahunGit / Auth0BlazorWebAppSample

MIT License
26 stars 5 forks source link

Check Mediator solution #4

Closed jprimke closed 9 months ago

jprimke commented 9 months ago

In my tests I receive results only from server side never from client side.

jprimke commented 9 months ago

It works now without MediatR like expected. You have to create your own IAuthorizationMiddlewareResultHandler and remove the current BlazorAuthenticationHandler

CrahunGit commented 9 months ago

Wow, great job, but it's better way with mediatr o any other aproach that differentiates between server and webassembly while loading data. In server can be a service and in webassembly must be http call. I aprove this, because it improves my solution.