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.

OAuth 2.0 and OpenID Connect Settings#
Session timeoutThe 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 URLThe URL that FusionAuth redirects the user to after logout. An Application can set its own value.
Client credentials populate lambdaThe lambda that FusionAuth runs to populate the JWT during a Client Credentials grant.
Token Exchange Settings#
This feature requires an Enterprise plan.

These settings configure token exchange for the Tenant.
Enable token exchange grantWhen 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 engineThe 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 lambdaThe Token Exchange Policy lambda to run for each exchange. This field is required when Token exchange policy engine is set to Lambda.
Allowed issuersThe 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 lambdaThe 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 depthThe 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 loggingWhen enabled, FusionAuth writes the reason for each failed exchange to the Event Log.
Advanced SSO Settings#
Allow access token bootstrap to create SSO sessionWhen 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.
Related
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.
Learn about the APIs for creating, retrieving, updating and deleting identity providers.
Learn about the APIs for creating, retrieving, updating and deleting OpenID Connect identity providers.
Client Secret reference for FusionAuth OAuth2 endpoints.