Password Settings

Customize your Password authentication flow from the Descope console (Settings > Authentication Methods > Passwords).

Password Policy

Password policy forces users to select more robust passwords. We have chosen a default policy that corresponds with current best practices. You can change the password policy to make it more or less restrictive. Note that if you desire more restrictions, it may be harder for your users to remember the password they have chosen, and if you choose a less restrictive policy, passwords may be more easily compromised.

Note

Password policy can also be overridden at a tenant level. More information about tenant level password policy can be found here.

Enable Method in API and SDK

The Enable method in API and SDK toggle controls whether Password authentication can be invoked programmatically via APIs and SDKs.

  • When enabled: Authentication works via flows, APIs, and SDKs
  • When disabled: Authentication only works with flows or calls made with a valid management key

Available Settings

This section describes additional details about the configuration options available.

SettingDetails
Enable method in API and SDKThis toggle switch enables or disables the authentication method from being available for use within API and SDK
Minimum Password LengthRequire users to choose a password equal to or longer than the number of characters specified.
Require at least one letter (any case)Require users to use at least one alphabetic character (a-z or A-Z) in their password.
Require at least one lowercase characterRequire users to use at least one lowercase character in their password.
Require at least one uppercase characterRequire users to use at least one uppercase character in their password.
Require at least one numberRequire users to use at least one numeric character (0-9) in their password.
Require at least one special characterRequire users to use at least one non-alphanumeric character in their password.
Disallowed charactersCharacters that must not appear in the password. Leave empty to allow any character otherwise permitted by the policy.
Disallow passwords identical to the user's emailBlock passwords that match the user's full email address, or the portion before @ (case-insensitive).
Enable Password ExpirationWhen enabled, the user's password will expire after a specified period (in weeks), and the user will have to change their password.
Prevent Password ReuseSpecify how many previously used user passwords Descope will remember. When selecting a new password (e.g., after reset or password expiration), Descope will not allow using any previously used passwords.
Lock account after x attemptsWhen a user enters an incorrect password more than x times, the user will be locked and unable to log in again.
Temporary lock after x attempts, for y minutesWhen a user enters an incorrect password more than x times, the user will be temporarily locked and unable to log in for y minutes. After y minutes the user will be able to log in again.
Password Strength EnforcementEnforces a minimum password strength that passwords must match or exceed in order to be registered successfully.
Password Reset Email ConnectorThe messaging provider used to send password reset emails (sent via Magic Link). The default is Descope. You can read more about messaging connectors here.
TemplateIf you are using a custom messaging connector, you can change the template of the email which your user will receive. The default is System.

Reset Password Email

This email will be sent to the user via the Magic Link method when the end user initiates a password reset process (e.g. when the user clicks the “forgot my password” link or when triggered by the admin in the Descope Console or API).

On the authentication methods page, you can find the Reset Password Email settings. Here you can customize the email connector used to send the reset password email, as well as the email template.

Reset Password Settings

Allow Unverified Recipient Email Addresses or Phone Numbers

Note

Enabling this option may increase the risk of spam and fraud.

By default, messages are sent only to verified email addresses or phone numbers. When enabled, this option allows messages to be sent to unverified email addresses or phone numbers.

Reset Password In flows

You can also use the Send Password Reset action within your flow.

Send Password Reset

Within this action, you can customize the email connector used to send the reset password email, as well as the email template. Additionally, you can select custom token verification, so that you can include additional conditions before verifying. This is useful in detecting if an email scanner has clicked on the magic link in the email, and prevent token verification in that scenario.

Password Reset Action

Set/Reset Password Option

Note

You can use the user.passwordExpired dynamic key in your flow to check if the user's password has expired.

Descopers now have the ability to set or reset user's password from the User's page under manage users. This will help in setting them the password for their first login. In the user's table, against a user, click on the actions menu (3-dots) and select the "Set/Expire Password" option.

Set or Expire User Password

Once you click on this setting, you get the following dialog box with options to set a temporary password for that user. You can toggle to force the user to change their password on their next login.

Set Temp Password

This follows by Descope presenting you a temporary password for that user to login next time with.

Display Temp Password

Password Error Sensitivity

If "Hide sensitive error information" under Password Policy settings has been enabled, the users will get a generic password failure message, but if there's a need to display specific password error message, make sure to toggle off this option.

With toggle enabled, the response would have the following error information displayed. This hides any sensitive information on the error.

Hide Sensitivity Enabed Password

However, once the toggle is off, the error message provides detailed feedback specific to the entered password, offering the user greater clarity about the issue.

Hide Sensitivity Disabled Password

Was this helpful?

On this page