Closed LuisDev99 closed 2 years ago
I solved this issue by using a tool that uploads some prebuilted policies that work perfectly instead of using and modifying the passwordless starter pack.
Complete explanation of the solution can be found in here: https://github.com/azure-ad-b2c/samples/issues/383#issuecomment-1082630591
active-directory-b2c-custom-policy-starterpack/scenarios/phone-number-passwordless this custom policy starter pack is not working.
If you run the
SignUpOrSignInWithPhoneOrEmail.xml
policy flow, when signing in or signing up, it doesn't work properly.When signing up, eventhough the user does not exists, after hitting continue it throws the following error:
After hitting continue tho, it creates the user somehow in B2C eventhough it threw an error in the signup screen. Now that the user exists, I try to login but it says that the user does not exists (eventhough he was created):
This means that the phone-number-passwordless starter pack policies are broken.........
Steps to reproduce:
Use the custom policies files located at: active-directory-b2c-custom-policy-starterpack/scenarios/phone-number-passwordless
Follow the other steps mentioned in here: active-directory-b2c-custom-policy-starterpack/scenarios/phone-number-passwordless/README.md
Upload the policies and run the
SignupOrSigninWithPhoneOrEmail.xml
policyCreate a user and try logging in (it won't work but the user will be created)