Skip to content

Blazor WASM Azure AD B2C Popup window #26131

Discussion options

You must be logged in to vote

Answer: To all those needing this same information.

Upgrade to .NET 5.0-rc1

Upgrade 3.1 -> 5.0
https://docs.microsoft.com/en-us/aspnet/core/migration/31-to-50?view=aspnetcore-3.1&tabs=visual-studio#update-blazor-webassembly-projects

Then do the following:

That property is exposed in the latest .net 5 RC of the wrapper library (Microsoft.Authentication.WebAssembly.Msal) - you would set the property with options.ProviderOptions.LoginMode = "redirect" - try with this specific package version: https://www.nuget.org/packages/Microsoft.Authentication.WebAssembly.Msal/5.0.0-rc.1.20451.17

  builder.Services.AddMsalAuthentication(options =>

        {

            builder.Configuration.Bind("Azure…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BruceHunter
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant