Azure AD B2C - I want to add Forgot Password link to phone-number-passwordless scenario.

Abhay Chandramouli 966 Reputation points
2022-04-19T04:42:31.377+00:00

I am trying to make a mobile/email signin signup but I can see that the scenarios base file doesn't have a forgot password embedded in it. Can you please help me ? I am using the starter pack scenarios folder.
I want to embed that

Thanks

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,719 questions
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 22,886 Reputation points Microsoft Employee
    2022-04-26T18:39:10.407+00:00

    Hi anonymous user , so sorry for the delay in response! From my understanding you're looking at the "Phone_Email_Base.xml" file, correct?

    You would first need to set up a password reset flow. Within your XML you now need to add the following claim under <ClaimsSchema>

        <ClaimType Id="isForgotPassword">  
          <DisplayName>isForgotPassword</DisplayName>  
          <DataType>boolean</DataType>  
          <AdminHelpText>Whether the user has selected Forgot your Password</AdminHelpText>  
        </ClaimType>  
    

    From there, you would just need to follow the document to make sure everything is setup properly. Please let me know if you've tried this already or if you get stuck.

    If this answer helped you please mark it as "Verified" so other users can reference it.

    Thank you,
    James

    0 comments No comments