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 | |
---|---|---|---|---|
Role-Based Access Control in Blazor Applications | 11 | 1920 | March 29, 2024 | |
.NET 8: What's New for Authentication and Authorization | 7 | 3358 | January 8, 2024 | |
Auth0 with server side blazor (asp.net core) | 1 | 3637 | December 26, 2019 | |
.Net 8.0 Blazor | 35 | 6460 | November 8, 2024 | |
Updated How-To for Blazor 8? Auth0 article on covers Blazor 6 | 2 | 385 | May 30, 2024 |