# Tenant OAuth Settings

Reference for the fields on the OAuth tab of the Tenant form in the Admin UI, including the SSO session timeout and token exchange.

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

The OAuth tab holds the OAuth 2.0 and OpenID Connect settings for the Tenant. Every Application in the Tenant shares these settings. An Application can override only the logout URL. To open the tab, navigate to Tenants , click edit on a Tenant, and click OAuth . For token lifetimes and signing keys, see [JWT](https://fusionauth.io/docs/concepts/types/tenants/jwt.md).

![The OAuth settings on the OAuth tab of the Tenant form.](https://fusionauth.io/img/docs/screenshots/tenant-oauth.png)

## OAuth 2.0 and OpenID Connect Settings

`Session timeout`

*   Optional

The number of seconds an SSO session can stay inactive before FusionAuth closes the session. FusionAuth creates the SSO session only when the user checks **Keep me signed in** on the login page, so this timeout has no effect for other logins. For more information, see [Create the SSO Session at Login](https://fusionauth.io/docs/authentication/sessions/enable-sso.md#create-the-sso-session-at-login).

`Logout URL`

*   Optional

The URL that FusionAuth redirects the user to after logout. An Application can set its own value.

`Client credentials populate lambda`

*   Optional
*   Available since `1.28.0`

The lambda that FusionAuth runs to populate the JWT during a Client Credentials grant.

## Token Exchange Settings

> **PLAN:** This feature requires [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

![The token exchange settings on the OAuth tab of the Tenant form.](https://fusionauth.io/img/docs/screenshots/tenant-token-exchange.png)

These settings configure [token exchange](https://fusionauth.io/docs/authorization/token-exchange.md) for the Tenant.

`Enable token exchange grant`

*   Available since `1.70.0`

When enabled, the Tenant accepts token exchange requests. When disabled, FusionAuth rejects token exchange requests and ignores the other settings in this section.

`Token exchange policy engine`

*   Required
*   Available since `1.70.0`

The policy engine that decides whether to allow an exchange. The values are `Entity` and `Lambda`. A Tenant uses one policy engine. For how each engine behaves, see [Policy Engines](https://fusionauth.io/docs/authorization/token-exchange.md#policy-engines).

`Token exchange policy lambda`

*   Available since `1.70.0`

The [Token Exchange Policy lambda](https://fusionauth.io/docs/lambdas/token-exchange/token-exchange-policy.md) to run for each exchange. This field is required when **Token exchange policy engine** is set to `Lambda`.

`Allowed issuers`

*   Optional
*   Available since `1.70.0`

The issuers whose JWTs the Tenant accepts as subject tokens with the `urn:ietf:params:oauth:token-type:jwt` subject token type. Each value must be an absolute `https` URL or an `http://localhost` URL.

The value `*` accepts any issuer, but FusionAuth rejects `*` when FusionAuth runs in `production` mode.

Only the `Lambda` **Token exchange policy engine** uses allowed issuers. The `Entity` engine accepts only tokens that the Tenant issued.

`Token exchange populate lambda`

*   Optional
*   Available since `1.70.0`

The [Token Exchange Populate lambda](https://fusionauth.io/docs/lambdas/token-exchange/token-exchange-populate.md) to run before FusionAuth signs an exchanged token. The lambda can narrow what the policy engine granted, but can't expand the grant.

`Max act claim depth`

*   Required
*   Defaults to `2`
*   Available since `1.70.0`

The maximum number of actors in the `act` claim of an issued token. FusionAuth rejects an exchange when the `act` claim of the subject token already contains this many actors. The value must be between `1` and `10`.

`Enable debug logging`

*   Optional
*   Available since `1.70.0`

When enabled, FusionAuth writes the reason for each failed exchange to the [Event Log](https://fusionauth.io/docs/deploy/troubleshoot/troubleshooting.md#event-log).

## Advanced SSO Settings

`Allow access token bootstrap to create SSO session`

*   Optional
*   Available since `1.56.0`

When enabled, a client can create an SSO session after login by sending an access token as a bearer token in a request to the OAuth2 [Authorize endpoint](https://fusionauth.io/docs/apis/oauth/authorize.md). Native apps can use this setting to sign users into web applications without the login page.

Related

[Concepts Tenant JWT Settings 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 settings](https://fusionauth.io/docs/concepts/types/tenants/jwt.md)

[APIs Identity Provider API Learn about the APIs for creating, retrieving, updating and deleting identity providers. openid connectoauth](https://fusionauth.io/docs/apis/identity-providers.md)

[APIs OpenID Connect API Learn about the APIs for creating, retrieving, updating and deleting OpenID Connect identity providers. openid connectoauth](https://fusionauth.io/docs/apis/identity-providers/openid-connect.md)

[APIs Client Secret Reference Client Secret reference for FusionAuth OAuth2 endpoints. oauthclient credentials](https://fusionauth.io/docs/apis/oauth/client-secret.md)
---

## Other pages in Tenants

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

- [Tenant Advanced Settings](https://fusionauth.io/docs/concepts/types/tenants/advanced.md): 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.
- [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 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.
