Test the Secure Blazor Server Application
Learn to test the integration of our Blazor Server application with Auth0.
We'll cover the following...
Now, we are ready to run our Blazor Server application to see how authentication and access control work.
Launch the application
Let’s move to the root folder of our project and run the following command:
dotnet run
After a few seconds, we’ll see the home page of our application as shown below:
This time, we don’t get the same home page as before. We see the message for unauthorized users that we set through the AuthorizeRouteView
component. Let’s try to navigate to the other pages of the application by clicking the “Counter” and the “Fetch ...