© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago
Metalkon

Blazor WebAsm AuthStateProvider

Question:
I am working on new project that will use a custom auth setup based on an old unfinished project. In my old project I used a custom authstateprovider (got it from a .net6 tutorial a year ago, barely know how it works) and i'm wondering if anyone could point me in the right direction?

Here's the customauthstateprovider used in my old project
https://github.com/Metalkon/Fantasy-Web-App/blob/master/Fantasy%20Blazor/Services/CustomAuthStateProvider.cs

I'm trying to figure out how to avoid using this and maybe use something a bit more official, standard, or built-in without changing my backend (it returns a jwt and refresh token atm) but i'm struggling to find useful information currently.
GitHub
Fantasy-Web-App/Fantasy Blazor/Services/CustomAuthStateProvider.cs ...
A discontinued unfinished portoflio Project that I was working on in mid 2023 that utilizes ASP.NET Core Web API and Blazor WebAssembly in .NET6. Will soon be replaced by a better project. - Metalk...
Fantasy-Web-App/Fantasy Blazor/Services/CustomAuthStateProvider.cs ...
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 WebAsm (.NET6) Breakpoints No Longer Working
C#CC# / help
3y ago
❔ WebASM and c#
C#CC# / help
3y ago
blazor
C#CC# / help
2y ago