C#C
C#2y ago
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(); on the WithOrigins but I doubt it.
Was this page helpful?