-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.The author of this issue needs to respond in order for us to continue investigating this issue.area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components
Description
.Net 5 & .Net 6
I have a Blazor Wasm using Azure AD Authentication
Program.cs
builder.Services.AddMsalAuthentication(options =>
{
builder.Configuration.Bind("AzureAD", options);
});
appsettings.json
"AzureAD": {
"ProviderOptions": {
"Authentication": {
"Authority": "https://login.microsoftonline.com/11111111-2222-3333-4444-555555555555",
"ClientId": "11111111-2222-3333-4444-555555555555",
"RedirectUri": "URL DE PROD",
"PostLogoutRedirectUri": "URL DE PROD",
"ValidateAuthority": true
},
"DefaultAccessTokenScopes": [
"openid",
"offline_access",
"https://graph.microsoft.com/User.Read"
],
"LoginMode": "redirect",
"Cache": {
"CacheLocation": "LocalStorage"
}
}
}
When authenticating the application hangs on code reception:
macel94
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.The author of this issue needs to respond in order for us to continue investigating this issue.area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components