azure-ad-b2c / samples

Azure AD B2C custom policy solutions and samples.
840 stars 597 forks source link

Sample "mfa-email-or-phone" is not working as described #549

Open zntr1 opened 1 year ago

zntr1 commented 1 year ago

Hey together,

just tried to implement the sample "mfa-email-or-phone". On the Readme it says "For scenarios where you would like to give users the choice to use Email verification or SMS/Phone Call as the second authentication factor, and allow them to change this choice at a later point via Profile Edit.".

Everything works fine but the second part "and allow them to change this choice at a later point via Profile Edit" is not correct. The sample does not include any code regarding this feature nor does it make any changes to the profile-edit user journey from the starter-pack.

Any ideas?

MayuriVidekarExt commented 2 weeks ago

Hey @zntr1, As you mentioned that the "https://github.com/azure-ad-b2c/samples/tree/master/policies/mfa-email-or-phone" worked for you. At least the first part. However, when I am trying to upload the policy on ADb2C, its is giving validation errors as some technical profiles are not not present in the xml. Example: As the technical profile definition is not present in the code, its giving validation errors.

image