Tenant OAuth Settings

On this page

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 on a Tenant, and click OAuth . For token lifetimes and signing keys, see JWT.

The OAuth settings on the OAuth tab of the Tenant form.
The OAuth settings on the OAuth tab of the Tenant form.

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.

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#

Enterprise plan required

This feature requires an Enterprise plan.

The token exchange settings on the OAuth tab of the Tenant form.
The token exchange settings on the OAuth tab of the Tenant form.

These settings configure token exchange 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.

Token exchange policy lambda
  • Available since 1.70.0

The Token Exchange Policy lambda 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 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.

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 endpointThe OAuth 2.0 endpoint where a user logs in and grants an application access. In FusionAuth, the authorization endpoint is /oauth2/authorize.. Native apps can use this setting to sign users into web applications without the login page.