I was using Azure AD B2C
MSAL integration in android. I have created the UserFlow
for ForgotPassword
which is working as expected. When I tried to change the Password, they will ask for the registered emailAddress
where they will send the verification code to change the Password. But when I tried to give any emailAddress
during forgot password it will be sending the verification code
to any email which I provided. How can I handle sending verification code to any emailAddress
unless that emailAddress
is signedup
in azure
Solution is in this sample
Demonstrate how to use a displayControl to send One-Time-Passcodes to users only if the email is registered against a user in the directory.
https://github.com/azure-ad-b2c/samples/tree/master/policies/pwd-reset-email-exists
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.