I have a DotNet 8 Blazor Server App and I can get the basic auth0 authentication working and protect pages, etc. But I am unable to get the AuthorizeView tag working to protect things like navlinks. I cannot find a solid example. I am wondering if I need to create a custom AuthenticationStateProvider to keep track of the state. But this is very unclear. Any help in pointing me in the right direction would be super helpful.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| .Net 8.0 Blazor | 35 | 7024 | November 8, 2024 | |
| Updated How-To for Blazor 8? Auth0 article on covers Blazor 6 | 2 | 522 | May 30, 2024 | |
| .NET 8: What's New for Authentication and Authorization | 7 | 3581 | January 8, 2024 | |
| What is Blazor? A Tutorial on Building Web Apps with Authentication | 173 | 24622 | May 30, 2024 | |
| AuthenticationStateProvider labeling user with access token as unauthenticated | 3 | 100 | October 21, 2024 |