<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
0D54z00009fq9mRCAQOkta Classic EngineSingle Sign-OnAnswered2026-05-01T09:01:18.000Z2023-09-19T01:58:33.000Z2023-09-20T16:42:38.000Z

dse7i (dse7i) asked a question.

What does "disabled" me for maxSessionLifetimeMinutes = 0

In the docs for https://developer.okta.com/docs/reference/api/policy/*signon-action-object, it says we can "Disable [maxSessionLifetimeMinutes] by setting to 0". What does it mean to disable the "maxSessionLifetimeMinutes"?

 

Does this mean all sessions timeout right away and need to auth again, or is it using Okta's 90 day maximum?


  • User16594883467582706479 (Customer Support Online Experience)

    Hi, @dse7i (dse7i)​ 

     

    Thank you for posting on our Community page!

     

    maxSessionLifetimeMinutes = Maximum number of minutes from User sign in that a user's session is active. Set this to force Users to sign in again after the number of specified minutes. Disable by setting to 0. This property is read-only for the default rule of the default Global session policy.

     

    Basically, when setting it to 0, the users can stay logged in indefinitely, as long as their session doesn't become idle.

     

    Thank you for reaching out to our Community and have a great day!

    _____________________________________________________________________________

    Community members help others by clicking Like or Select as Best on responses. Try it today.

    _____________________________________________________________________________

    Headed to Oktane? Here's what you can expect, plus all the Okta tips you may have missed this month

    _____________________________________________________________________________

    Expand Post
    Selected as Best
  • User16594883467582706479 (Customer Support Online Experience)

    Hi, @dse7i (dse7i)​ 

     

    Thank you for posting on our Community page!

     

    maxSessionLifetimeMinutes = Maximum number of minutes from User sign in that a user's session is active. Set this to force Users to sign in again after the number of specified minutes. Disable by setting to 0. This property is read-only for the default rule of the default Global session policy.

     

    Basically, when setting it to 0, the users can stay logged in indefinitely, as long as their session doesn't become idle.

     

    Thank you for reaching out to our Community and have a great day!

    _____________________________________________________________________________

    Community members help others by clicking Like or Select as Best on responses. Try it today.

    _____________________________________________________________________________

    Headed to Oktane? Here's what you can expect, plus all the Okta tips you may have missed this month

    _____________________________________________________________________________

    Expand Post
    Selected as Best
This question is closed.
Loading
What does "disabled" me for maxSessionLifetimeMinutes = 0