# SSO Expiration Behaviour in OIDC flows

**URL:** <https://community.auth0.com/t/sso-expiration-behaviour-in-oidc-flows/6508>\
**Category:** Get Help\
**Tags:** exp, oidc, sso\
**Created:** [May 6, 2017, 12:45am UTC](https://community.auth0.com/t/sso-expiration-behaviour-in-oidc-flows/6508 "2017-05-06T00:45:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavin.osborn](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@gavin.osborn](https://community.auth0.com/u/gavin.osborn)\
**Post date:** [May 6, 2017, 12:45am UTC](https://community.auth0.com/t/sso-expiration-behaviour-in-oidc-flows/6508/1 "2017-05-06T00:45:14Z")

</div>

In an OIDC compliant flow what is the expected behavior of SSO expiration?

I assume the session expiration is still controlled by the tenant/account settings:  
![alt text][1]

Are there are other rules?

Does the expiration alter between active and inactive sessions?

If have a timeout set for 1 month but I don’t attempt to log into my app for 2 weeks will I be rejected?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [May 8, 2017, 3:59pm UTC](https://community.auth0.com/t/sso-expiration-behaviour-in-oidc-flows/6508/2 "2017-05-08T15:59:36Z")

</div>

Your assumption is correct, the setting you mentioned will have an impact in the session expiration.

Additionally, according to the [documentation](https://auth0.com/docs/sso#length-of-sso-sessions), have in mind that **there is a maximum absolute duration** for the session (which you can configure through the setting you mentioned), **but there’s also a timeout for inactivity** ; the timeout for inactivity is three days and is non-configurable at the moment.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/sso-expiration-behaviour-in-oidc-flows/6508/3 "2018-03-02T05:53:44Z")

</div>


