© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
Herbix

❔ <AuthorizeView> not working

I am currently making a Blazor Server App with a Custom Authentication. I can give my current user roles but then cannot use the AuthorizeView attribute.

More info here: https://stackoverflow.com/questions/75855206/authorizeview-not-woking-in-blazor-server-app
Stack Overflow
not woking in blazor server app
I have a Blazor Server app with a Custom AuthenticationStateProvider. I can add Claims to my current user but when I try using the component, it just doesn't show up.
My Program.cs File:
builder.
not woking in blazor server app
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Blazor Cookie not updating AuthorizeView
C#CC# / help
9mo ago
✅ SignalR Not working
C#CC# / help
4mo ago
✅ .NET not Working
C#CC# / help
11mo ago
Calculation not working
C#CC# / help
12mo ago