State parameter lifetime

Problem statement

For how long does the state parameter remain valid?

Solution

State expiry is controlled via the Require log in after setting found in the Log In Session Management section under the Advanced tab in the tenant settings. The maximum lifetime is 3 days regardless of this setting value.