Password

This article will show how to use the password components and what options a Descoper can change to customize their users' experience.

Password Input

The login password input is a standard input field that allows the user to enter a password. The new password input allows the user to enter a new password, and has options to confirm the password and preview the password policy.

Using It for OTP or TOTP Codes

Place a login password input on an OTP or TOTP verification screen to collect the code in a single field instead of the segmented One Time Code input. The verify action reads whichever of the two inputs is populated.

Password Matching Error Message

You can add a custom error message on the confirm password field of the new password input by turning on the toggle for Password confirmation. When you have this configured, the message will be displayed when both the passwords fields do not match.

Configuring password validation error message

If the Policy previewer is turned on, the validation message will only be displayed after the new password satisfies the policy. If policy is not satisfied, the policy validation message is displayed first.

Demo of custom password validation message within Descope flows

Was this helpful?

On this page