Tenant Password Settings

On this page

The Password tab sets the password rules, failed login protection, breach detection, and password hashing for the Tenant. Every Application in the Tenant shares these settings. To open the tab, navigate to Tenants , click on a Tenant, and click Password .

Failed Authentication Settings#

The failed authentication settings on the Password tab of the Tenant form.
The failed authentication settings on the Password tab of the Tenant form.

These settings protect against brute force login attempts. To limit failed logins without a User Action, see the Failed login action in Rate Limit Settings.

User action
  • Optional

The User Action that FusionAuth applies after repeated failed login attempts. The User Action must be time-based and must have prevent login enabled.

Failed attempts
  • Required

The number of failed attempts allowed within the Time period before FusionAuth applies the User Action.

Time period
  • Required

The window, in seconds, in which FusionAuth counts failed attempts. When no further failed attempt occurs, FusionAuth resets the count after this time period, starting at the last failed login.

Action duration
  • Required

How long FusionAuth applies the User Action. When the User Action expires, the user can try to log in again.

Time unit
  • Optional

The time unit of Action duration.

Cancel action on password reset
  • Available since 1.42.0

When enabled, the user can end the lock before the User Action expires by completing a password reset workflow.

Email user
  • Available since 1.42.0

When enabled, FusionAuth emails the user when the User Action locks the account. The User Action in User action must be configured to email the user, and the User Action holds the email template. When the User Action can't email the user, FusionAuth ignores this setting.

Breached Password Detection Settings#

The breached password detection settings on the Password tab of the Tenant form.
The breached password detection settings on the Password tab of the Tenant form.

Breached password detection requires a paid FusionAuth plan.

Enable breached password detection
  • Optional

When enabled, FusionAuth checks the login Id and password of a user against public breached password databases. FusionAuth checks when it creates a user and when a password changes, and optionally at login.

Match mode
  • Optional

How closely the login Id and password must match a breach record to count as a breach. The values are:

  • High: The password alone must match. This value is the most secure, and FusionAuth recommends the value.
  • Medium: The password must match, along with an exact match on the username, the email address, or an email sub-address.
  • Low: The password must match, along with an exact match on the email address or the username. A common breached password also counts as a match.
On login
  • Optional

The action FusionAuth takes during login when the password matches a breach. Breach detection during login can slow down authentication. The values are:

  • Do not perform breach detection
  • Only record the result, take no action
  • Notify the end user via email
  • Require immediate password change
Notify user template
  • Optional

The email template that FusionAuth sends to notify the user of a breach. The field appears when On login is Notify the end user via email, and the field is required then.

Password Settings#

The password rules on the Password tab of the Tenant form.
The password rules on the Password tab of the Tenant form.
Minimum length
  • Required

The minimum length of a valid password.

Maximum length
  • Required

The maximum length of a valid password.

Uppercase & lowercase
  • Optional

When enabled, passwords must contain at least one uppercase and one lowercase character.

Special character
  • Optional

When enabled, passwords must contain at least one non-alphanumeric character.

Number
  • Optional

When enabled, passwords must contain at least one number.

Minimum age (toggle)
  • Optional

When enabled, users must wait a set time after a password change before changing the password again.

Minimum age (value)
  • Required

The number of seconds a user must wait after a password change before changing the password again.

This field is required when the Minimum age toggle is on.

Expiration (toggle)
  • Optional

When enabled, passwords expire after a set time. After a password expires, the user must change the password at login.

Expiration (value)
  • Required

The number of days after the last password change before the password expires.

This field is required when the Expiration toggle is on.

Reject passwords containing user login Id
  • Optional
  • Available since 1.63.0

When enabled, users can't include their login Id in their password.

Reject previous passwords
  • Optional

When enabled, users can't reuse a set number of their previous passwords.

Number of passwords
  • Required

The number of previous passwords that FusionAuth keeps to prevent reuse.

This field is required when Reject previous passwords is on.

Re-validate on login
  • Optional

When enabled, FusionAuth validates the password of the user during login. When the password doesn't meet the current rules, the user must change the password.

Cryptographic Hash Settings#

The cryptographic hash settings on the Password tab of the Tenant form.
The cryptographic hash settings on the Password tab of the Tenant form.
Scheme
  • Optional

The password hashing scheme that FusionAuth uses when it creates a user and when a password changes. For the schemes that ship with FusionAuth, see Password Hashing Algorithms. To write your own scheme, see Custom Password Hashing.

Factor
  • Required

A non-zero iteration count for the hashing scheme. A higher number makes the password hash harder to reverse but uses more CPU time during login. A high factor can make logins very slow.

Re-hash on login or change
  • Optional

When enabled, FusionAuth rehashes the password of a user at the next login or password change when the hash doesn't match the configured Scheme and Factor.