Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

NET MAUI auth token in SecureStorage

$
0
0

I have created a net MAUI Blazor app

I am able to login to facebook/google and return a auth token. What I'm trying to do is to save the token using SecureStorage in my app so that the user doesn't have to log in every time the user opens the app.

My issue is that tokens has an expiry date so I'm not sure how it will work. Even if I use a refresh token the token would have expired by the next time the user opens the app

My question is, what should I save in SecureStorage and how can I authenticate without the user having to re login every time


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>