© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago
camel

Manipulate browser session storage manually to hack claims into Blazor

I'm trying to figure out how to manually add a claim through the browser so that Blazor shows me things protected by <AuthorizeView Policy="HasHackedClaim">. I want to prove to my colleagues that handling authentication only in the Blazor client is a bad idea if the API is not protected with authentication, even if the API is not publically exposed.
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 AuthStateProvider - OK to synchronize Role Claims?
C#CC# / help
3y ago
Blazor 'server-side' storage
C#CC# / help
2y ago
❔ Blazor server run in browser/client
C#CC# / help
4y ago
Manipulate Json
C#CC# / help
17mo ago