Tenant Advanced Settings

On this page

The Advanced tab sets how long external identifiers stay valid, how FusionAuth generates the identifiers, and custom SMTP properties. External identifiers are unique, expiring codes that complete workflows such as a password change or an email verification. Every Application in the Tenant shares these settings. An Application can override only the Two-Factor trust duration. To open the tab, navigate to Tenants , click on a Tenant, and click Advanced .

External Identifier Durations#

The External identifier durations section of the tenant Advanced tab.
The External identifier durations section of the tenant Advanced tab.

Each duration sets how many seconds an identifier stays valid. Every duration must be greater than 0.

Authorization code
  • Required

How long the OAuth2 authorization code can complete a token request. The value must be less than 600.

Change password
  • Required

How long the change password identifier can complete a change password request.

Device grant codes
  • Required

How long the device_code and user_code can complete the Device Code grant.

Email verification
  • Required

How long the email verification identifier can complete an email verification request.

External Authentication
  • Required

How long the external authentication identifier can complete an authentication request.

Login timeout
  • Required

How long the login timeout identifier can complete the post-authentication steps of the OAuth workflow.

One-time password
  • Required

How long the one-time password identifier can complete a login request.

Passwordless login
  • Required

How long the passwordless login identifier can complete a login request.

Pending account link
  • Required

How long the pending account link identifier can complete an account link request.

Phone verification
  • Required

How long the phone verification identifier can complete a phone verification request.

Registration verification
  • Required

How long the registration verification identifier can complete a registration verification request.

Remember OAuth scope consent choice
  • Required

How long FusionAuth remembers a user's consent choice and skips the OAuth scope consent prompt.

SAMLv2 AuthN request
  • Required

How long the SAMLv2 AuthN request identifier can complete a SAMLv2 login request.

Set up password
  • Required

How long the set up password identifier can complete a change password request.

Trust token
  • Required

How long a trust token can complete a request that requires trust, such as a password change for a user with MFA enabled. For more information, see Trust Tokens and Trust Challenges.

Two-Factor login
  • Required

How long the two-factor identifier can complete a two-factor login request.

Two-Factor one-time code
  • Required

How long the one-time code that turns a two-factor method on or off stays valid.

Two-Factor trust
  • Required

How long a two-factor trust stays valid. When the trust expires, FusionAuth prompts the user for two-factor authentication at the next login.

WebAuthn authentication
  • Required

How long the WebAuthn authentication challenge stays valid. When the challenge expires, the user restarts the authentication workflow.

WebAuthn registration
  • Required

How long the WebAuthn registration challenge stays valid. When the challenge expires, the user restarts the credential registration workflow.

External Identifier Generation#

The External identifier generation section of the tenant Advanced tab.
The External identifier generation section of the tenant Advanced tab.

Each field sets the length and character type of a generated code. In most cases, keep the defaults. A shorter code, or a code that uses only digits or letters, is easier for a user to type from an email or SMS message. Each of those changes also makes the code easier to guess.

Change password
  • Required

The code that completes the change password workflow.

Email verification
  • Required

The code that completes the email verification workflow.

Email verification one-time code
  • Required

The one-time code for email verification. FusionAuth uses this code only when email verification gating uses a form field instead of a clickable link.

Passwordless login
  • Required

The code that completes the passwordless login workflow.

Passwordless login one-time code
  • Required
  • Available since 1.59.0

The one-time code for passwordless login. FusionAuth uses this code when sending an SMS message to a phone number, or when you set loginStrategy to FormField on the Start Passwordless Login API.

Phone verification
  • Required

The code that completes the phone verification workflow.

Phone verification one-time code
  • Required

The one-time code for phone verification. FusionAuth uses this code only when phone verification gating uses a form field instead of a clickable link.

Registration verification
  • Required

The code that completes the registration verification workflow.

Registration verification one-time code
  • Required

The one-time code for registration verification. FusionAuth uses this code only when registration verification gating uses a form field instead of a clickable link.

Set up password
  • Required

The code that completes the set up password workflow.

Device grant user code
  • Required

The user code for the Device Authorization Grant.

Two-Factor one-time code
  • Required

The one-time code for two-factor authentication.

SMTP Settings#

Additional properties
  • Optional

Custom SMTP configuration properties. The field accepts any Java mail property. A value here overrides the default value FusionAuth sets. Contact FusionAuth support before you add properties.

The following property has a default value:

  • mail.smtp.ssl.protocols has a default value of TLSv1 TLSv1.1 TLSv1.2.

Since version 1.44.0, the following two properties have default values:

  • mail.smtp.timeout has a default value of 2000.
  • mail.smtp.connectiontimeout has a default value of 2000.

The following example sets both timeouts to 5 seconds:

mail.smtp.timeout=5000
mail.smtp.connectiontimeout=5000