I am trying to create a custom policy where consumer can signup and signin with phone or email using one time code.
Following the documentation and various samples available, I managed to create this policy.
Signup works as expected. Signin with phone works as expected.
But I haven't been able to get the signin with email to work. The second page just shows the email textbox. No send verification code button or enter verification code textbox.
I have tried various configs from different samples, but it results in internal server error.
Need help getting the signin with email to work the same as signin with phone.
https://gist.github.com/mavwolverine/f91d6d3cfef5d30b2d31c6956c0a3804