Hi @deepti potdar • Thank you for reaching out.
In order to hide the Continue button in the Forgot password user flow, you need to perform the below steps:
- Create your own custom HTML page and add CSS/JavaScript to the page to hide the continue button. Please refer to the page source of My Custom HTML Page, where I have used the style tag to hide the continue button.
- After making the changes, upload the file to blob storage for example, and copy the URL.
- In your custom policy files, look for the
api.localaccountpasswordreset
content definition ID and add the URL as the LoadUri, as mentioned below: <ContentDefinition Id="api.localaccountpasswordreset">
<LoadUri>https://moviesdiag132.blob.core.windows.net/b2c/ResetPwd.html</LoadUri>
<RecoveryUri>~/common/default_page_error.html</RecoveryUri>
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:1.1.0</DataUri>
</ContentDefinition> - Save and upload your policy files.
See this in action: Go to https://b2c.cloud365.in > click on sign in > on the sign-in page, click on Forgot your password link > the continue button will be hidden.
Hope this helps.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.