<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Configure Maximum App Session Lifetime for Okta SAML Applications

Single Sign-On
Okta Integration Network
Okta Classic Engine
Okta Identity Engine

Overview

By default, Okta initiates the Security Assertion Markup Language (SAML) application session, but the application determines the session validity duration. The SessionNotOnOrAfter attribute sends a specific session expiration time to the Service Provider (SP). The SP uses this attribute to manage session validity and terminate the session when the time expires.

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Okta Integration Network (OIN)
  • Custom SAML Applications
  • Single Sign-On (SSO)

Solution

What steps configure the maximum app session lifetime for OIN applications?

Configure the maximum application session lifetime for an Okta Integration Network (OIN) application by adjusting the sign-on settings.

  1. Navigate to Applications and select the specific application.
  2. Go to the Sign On tab and select Edit in the Settings section.
  3. Locate Maximum App Session Lifetime and select Send value in response.
  4. Enter the desired value.
  5. Select Save.

SAML 2.0

 

Adjusting the advanced SAML settings configures the maximum app session lifetime for custom applications.

Modify the advanced SAML settings to set the maximum application session lifetime for a custom application.

  1. Navigate to Applications and select the specific application.
  2. Go to the General tab and locate the SAML Settings section.
  3. Select Edit, choose Next, and select Show Advanced Settings.
  4. Locate Maximum App Session Lifetime and select Send value in response.
  5. Enter the desired value.
  6. Select Save.

Maximum App Session

 

NOTE: Currently, Okta does not support the SessionNotOnOrAfter attribute when acting as a Service Provider (SP).

Loading
Configure Maximum App Session Lifetime for Okta SAML Applications | Okta Support