Timeout Management

Warning: business expectations regarding timeouts may drive you crazy. There are several timeout values in Janssen Auth Server. Also, web apps and mobile apps may have their own timeout thresholds. The holy grail of timeouts is when everything times out at the same time--IDP and applications. This is rarely attainable. Normally the application needs to handle gracefully the case when the IDP session expires first. And if the application session expires first, it may need to trigger a logout event at the OpenID Provider.

Below is a list of some of the Auth Server configuration properties for timeouts that you should consider:

  1. sessionIdCookieLifetime

  2. sessionIdLifetime

  3. sessionIdUnusedLifetime

  4. sessionIdUnauthenticatedUnusedLifetime

  5. spontaneousScopeLifetime

  6. refreshTokenLifetime

  7. idTokenLifetime

  8. accessTokenLifetime

  9. cleanServiceInterval

  10. dynamicRegistrationExpirationTime

  11. refreshTokenExtendLifetimeOnRotation

  12. CIBA, UMA and Device Flow: have their own specific timeouts.


Last update: 2024-09-27
Created: 2022-07-21