# Tenant Advanced Settings

Reference for the fields on the Advanced tab of the Tenant form in the Admin UI, including external identifier durations, code generation, and SMTP properties.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

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 edit on a Tenant, and click Advanced .

## External Identifier Durations

![The External identifier durations section of the tenant Advanced tab.](https://fusionauth.io/img/docs/screenshots/tenant-advanced-external-identifier-durations.png)

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](https://fusionauth.io/docs/authentication/multi-factor-authentication.md#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.](https://fusionauth.io/img/docs/screenshots/tenant-advanced-external-identifier-generation.png)

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](https://fusionauth.io/docs/apis/passwordless/start-passwordless-login.md).

`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:

```plaintext
mail.smtp.timeout=5000
mail.smtp.connectiontimeout=5000
```

Related

[Concepts Tenant Email Settings Reference for the SMTP fields on the Email tab of the Tenant form in the Admin UI. tenant settings](https://fusionauth.io/docs/concepts/types/tenants/email.md)

[Concepts Tenant Connector Settings Reference for the Connector policy fields on the Connectors tab of the Tenant form in the Admin UI. tenant settings](https://fusionauth.io/docs/concepts/types/tenants/connectors.md)

[Concepts Tenant Family Settings Reference for the fields on the Family tab of the Tenant form in the Admin UI, which configure parent and child accounts. tenant settings](https://fusionauth.io/docs/concepts/types/tenants/family.md)

[Concepts Tenant General Settings Reference for the fields on the General tab of the Tenant form in the Admin UI, including the issuer, the login theme, and username settings. tenant settings](https://fusionauth.io/docs/concepts/types/tenants/general.md)
---

## Other pages in Tenants

> For the full index of this section, see [Concepts](https://fusionauth.io/docs/llms-concepts.txt).

- [Tenant Connector Settings](https://fusionauth.io/docs/concepts/types/tenants/connectors.md): Reference for the Connector policy fields on the Connectors tab of the Tenant form in the Admin UI.
- [Tenant Email Settings](https://fusionauth.io/docs/concepts/types/tenants/email.md): Reference for the SMTP fields on the Email tab of the Tenant form in the Admin UI.
- [Tenant Family Settings](https://fusionauth.io/docs/concepts/types/tenants/family.md): Reference for the fields on the Family tab of the Tenant form in the Admin UI, which configure parent and child accounts.
- [Tenant General Settings](https://fusionauth.io/docs/concepts/types/tenants/general.md): Reference for the fields on the General tab of the Tenant form in the Admin UI, including the issuer, the login theme, and username settings.
- [Tenant Identity Settings](https://fusionauth.io/docs/concepts/types/tenants/identities.md): Reference for the fields on the Identities tab of the Tenant form in the Admin UI, including email and phone verification and template settings.
- [Tenants](https://fusionauth.io/docs/concepts/types/tenants.md): Learn about tenants, which isolate users, applications, and configuration in one FusionAuth instance.
- [Tenant JWT Settings](https://fusionauth.io/docs/concepts/types/tenants/jwt.md): Reference for the fields on the JWT tab of the Tenant form in the Admin UI, including signing keys, token durations, and refresh token settings.
- [Tenant Multi-Factor Settings](https://fusionauth.io/docs/concepts/types/tenants/multi-factor.md): Reference for the fields on the Multi-Factor tab of the Tenant form in the Admin UI, including the MFA login policy and the MFA methods.
- [Tenant OAuth Settings](https://fusionauth.io/docs/concepts/types/tenants/oauth.md): Reference for the fields on the OAuth tab of the Tenant form in the Admin UI, including the SSO session timeout and token exchange.
- [Tenant Password Settings](https://fusionauth.io/docs/concepts/types/tenants/password.md): Reference for the fields on the Password tab of the Tenant form in the Admin UI, including failed login lockout, breach detection, password rules, and hashing.
- [Tenant SCIM Settings](https://fusionauth.io/docs/concepts/types/tenants/scim.md): Reference for the fields on the SCIM tab of the Tenant form in the Admin UI, which configure the FusionAuth SCIM server.
- [Tenant Security Settings](https://fusionauth.io/docs/concepts/types/tenants/security.md): Reference for the fields on the Security tab of the Tenant form in the Admin UI, including CAPTCHA, blocked domains, client risk signals, and rate limits.
- [Tenant WebAuthn Settings](https://fusionauth.io/docs/concepts/types/tenants/webauthn.md): Reference for the fields on the WebAuthn tab of the Tenant form in the Admin UI, including the relying party and the passkey workflows.
- [Tenant Webhook Settings](https://fusionauth.io/docs/concepts/types/tenants/webhooks.md): Reference for the fields on the Webhooks tab of the Tenant form in the Admin UI, which select webhooks and set event transactions.
