question

AbhayChandramouli-2076 avatar image
0 Votes"
AbhayChandramouli-2076 asked JamesHamil-MSFT answered

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

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

azure-ad-b2c
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AbhayChandramouli-2076 , can you please post the link to the file/folder?

Thank you,
James

0 Votes 0 ·

any updates please ?

0 Votes 0 ·

1 Answer

JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered

Hi @AbhayChandramouli-2076 , 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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.