© 2026 Hedgehog Software, LLC

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

Blazor WASM Authentication

What's the proper way of doing authentication / autorization in Blazor WASM? Apparently sending a JWT from the Web API to the client is bad because you would have to store it in local/session storage because Blazor WASM can't accept a httpCookie(?) or at least send it back? There's been talk about it sending back automatically if the server has this set
.AllowCredentials();
.AllowCredentials();
on the
WithOrigins
WithOrigins
but I doubt it.
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

WebAPI authentication with Blazor WASM
C#CC# / help
8mo ago
Blazor WASM Authentication with separate APIs
C#CC# / help
4y ago
✅ Blazor WASM Headers
C#CC# / help
4mo ago
Blazor wasm help
C#CC# / help
6mo ago