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 | 6944 | November 8, 2024 | |
Updated How-To for Blazor 8? Auth0 article on covers Blazor 6 | 2 | 502 | May 30, 2024 | |
.NET 8: What's New for Authentication and Authorization | 7 | 3554 | January 8, 2024 | |
What is Blazor? A Tutorial on Building Web Apps with Authentication | 173 | 24203 | May 30, 2024 | |
AuthenticationStateProvider labeling user with access token as unauthenticated | 3 | 78 | October 21, 2024 |