azure-ad-b2c / samples

Azure AD B2C custom policy solutions and samples.
846 stars 598 forks source link

Send a new code via SMS broken in latest page layout versions #593

Closed gazzyt closed 8 months ago

gazzyt commented 11 months ago

Deploy the sample at https://github.com/azure-ad-b2c/samples/tree/master/policies/mfa-email-or-phone updated with the latest page version of the mfa page.

Steps to reproduce:

Expected behaviour:

Actual behaviour:

The issue seems to be related to the page layout version with later versions demonstrating the problem and earlier version working ok. Page versions tested:

Under Chrome dev tools I see that the second request to https://\*\*\*\*\*\*.b2clogin.com/******.onmicrosoft.com/B2C_1A_Demo_SignUp_SignIn_PhoneOrEmailMFA/Phonefactor/verify has a status of cancelled with the non-working page versions.

Tested using Chrome on Windows 10 Version 118.0.5993.120 (Official Build) (64-bit). I want to use the latest versions as they have some useful fixes (e.g. submit when the return key is pressed).

gazzyt commented 8 months ago

This ended up being a platform issue that Microsoft have now fixed so I am closing this issue here.