The problem is that Authentication takes first load then other contents
It you enabled the authentication in your project.
It because you add authenticationVIew in App.razor.
I don't think there is any solution on this right now.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have successfully implemented the Auth process for Blazor WASM using this article - https://github.com/JeepNL/Blazor-WASM-Identity-gRPC
The strange behavior I'd like to correct is that the Index pages appears for a second or 2 and THEN i'm redirected to the Login page, where I am Authenticated and returned to the Index.
Is there a way to have the Auth process kick in sooner?
The problem is that Authentication takes first load then other contents
It you enabled the authentication in your project.
It because you add authenticationVIew in App.razor.
I don't think there is any solution on this right now.
Hi, I'm not sure I understand the point...I would have thought that Authentication would always be the first thing to fire and using the [Authorize] decorator on my Index page would prevent if from ever being displayed until the user is Authenticated.
Hi,@Tim Cadieux ,
Network will show the time for each request,by checking the time,you can find which request or requests need more time.Then you can check the code of the request and try to reduce the time for the request.