Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 2.18 KB

active-directory-b2c-create-password-reset-policy.md

File metadata and controls

34 lines (20 loc) · 2.18 KB

To enable fine-grained password reset on your application, you will need to create a password reset policy. Note that the tenant-wide password reset option specified here. This policy describes the experiences that the consumers will go through during password reset and the contents of tokens that the application will receive on successful completion.

[!INCLUDE active-directory-b2c-portal-navigate-b2c-service]

In the policies section of settings, select Password reset policies and click + Add.

Select sign-up or sign-in policies and click the Add button

Enter a policy Name for your application to reference. For example, enter SSPR.

Select Identity providers and check Reset password using email address. Click OK.

Select reset password using email address as an identity provider and click the OK button

Select Application claims. Choose claims you want returned in the authorization tokens sent back to your application after a successful password reset experience. For example, select User's Object ID.

Select some application claims and click OK button

Click Create to add the policy. The policy is listed as B2C_1_SSPR. The B2C_1_ prefix is appended to the name.

Open the policy by selecting B2C_1_SSPR. Verify the settings specified in the table then click Run now.

Select policy and run it

Setting Value
Applications Contoso B2C app
Select reply url https://localhost:44316/

A new browser tab opens, and you can verify the password reset consumer experience in your application.

Note

It takes up to a minute for policy creation and updates to take effect.