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

How to get access token after initial login in Blazor WASM?

$
0
0

I'm building a .Net 9 Blazor Standalone WASM app using the out of box Blazor WebAssembly Authentication Library, patterned after the Blazor templates in VS2022, and configured for Auth0 as IdP. Pretty vanilla - basic login/logout and authorization operations works great and I can see the call to /token returning the id_token and access-token.

Where does the framework put the access token after login completes? I know I can call ‘IAccessTokenProvider.RequestAccessToken but I shouldn’t have to make network call if the token is already local?

ThanksMark


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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