Norm Johanson
Norm Johanson

Reputation: 3177

In a Blazor WASM get raw oauth tokens?

I have an authenticated user in a Blazor WebAssembly application via the OidcAuthentication provider. I know how to checkout all of the claims from the user object via the AuthenticationStateProvider but is there anyway to get the raw oauth token in my Blazor pages?

Upvotes: 1

Views: 232

Answers (1)

enet
enet

Reputation: 45596

Try to use IAccessTokenProvider.RequestAccessToken

See more here

See also this / and this

hope this helps...

Upvotes: 3

Related Questions