-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
Hello,
I am working on a Blazor Wasm project. I have just updated the project to the actually latest .Net 5 SDK, because I needed the LoginMode = "Redirect" feature for AAD B2C.
The AAD B2C is correctly set up and working from Azure and from the app as well.
The used userflows are:
- Sign up and sign in (Recommended)
- Password reset (Recommended)
But I would like to initiate the password reset from the signup/signin flow. For this I need to catch the 'AADB2C90118' error message as I read, although the Authentication component is not triggered at all, meanwhile the expected response is visible for a moment. After some redirects the signup/signin page is shown again,
The used packages are:
Microsoft.AspNetCore.Components.WebAssembly - 5.0.0-rc.2.20475.5
Microsoft.AspNetCore.Components.WebAssembly.DevServer - 5.0.0-rc.2.20475.5
Microsoft.Authentication.WebAssembly.Msal - 5.0.0-rc.2.20475.5
Microsoft.Extensions.Http - 5.0.0-rc.2.20475.5
System.Net.Http.Json - 5.0.0-rc.2.20475.5
The Blazor app is .Net hosted with the server app, although it is not relevant because I am running without it.
The related stackoverflow question is:
https://stackoverflow.com/questions/64446655/blazor-wasm-with-aad-b2c-signupsignin-userflow-reset-password-how-to-catch-a
Can you please check it and give me feedback, that it should work, or it is a bad approach from me?