I have a blazor web assembly asp.net core hosted app, I need a session storage for my client side app that I use in a service to get and set jwt tokens.

So I have a service "AuthenticationStateProvider" that uses server session for store/retrieve user's jwt tokens.

Since I didn't find any solution to access the browser from a client side service, I had to use session state from the server.

Is this a good solution, and is it work as I expect, without problems in a production website, and is secure?

0

There are 0 answers