Blazor WASM Authentication - TryGetToken is null - Version 3.2.0-preview2.20160.5 #19998
Labels
area-blazor
Includes: Blazor, Razor Components
Done
This issue has been fixed
feature-blazor-wasm
This issue is related to and / or impacts Blazor WebAssembly
Milestone
Describe the bug
Using MSAL (With Azure Active Directory), after a successful login (when calling
AuthenticationService.RequestAccessToken
, the methodtokenResult.TryGetToken(out var token)
returns a null token value.To Reproduce
Just generate a new MSAL project using:
And to reproduce, consider the following code in index.razor
token shouldnt be null, since was successfully authenticated.
The text was updated successfully, but these errors were encountered: