# Kibana SAML Session TimeOut

**URL:** <https://discuss.elastic.co/t/kibana-saml-session-timeout/186297>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [June 18, 2019, 3:24pm UTC](https://discuss.elastic.co/t/kibana-saml-session-timeout/186297 "2019-06-18T15:24:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SRE1](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@SRE1](https://discuss.elastic.co/u/SRE1)\
**Post date:** [June 18, 2019, 3:24pm UTC](https://discuss.elastic.co/t/kibana-saml-session-timeout/186297/1 "2019-06-18T15:24:04Z")

</div>

I have SAML configured between a hosted Kibana cluster, ElasticSearch Cloud, and AzureAD. Authentication works perfect but, if a user has a dashboard open and set to auto-refresh, they are logged out after 20 minutes.

I've set "idp.use\_single\_logout: False" so it no longer logs them out of AzureAD, but they are still redirected to the Kibana home page every 20 minutes.

I tried to modify the token timeout setting in ES but get an error "'xpack.security.authc.token.timeout': is not allowed"

How can I disable session timeout for SSO users?

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [June 19, 2019, 5:10am UTC](https://discuss.elastic.co/t/kibana-saml-session-timeout/186297/2 "2019-06-19T05:10:55Z")

</div>

I have moved this to the Kibana forum.

---

<div class="post-metadata">

**Author:** ![SRE1](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@SRE1](https://discuss.elastic.co/u/SRE1)\
**Post date:** [June 19, 2019, 1:17pm UTC](https://discuss.elastic.co/t/kibana-saml-session-timeout/186297/3 "2019-06-19T13:17:25Z")

</div>

Hi Tim,

Thank you but I suspect this has to do with the xpack.security.authc.token.timeout setting in ElasticSearch as described in the documentation. "[The access token is a short-lived token. By default, it expires after 20 minutes but it can be configured to last a maximum of 1 hour.](https://www.elastic.co/guide/en/elastic-stack-overview/current/token-authentication-services.html)".

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 17, 2019, 1:17pm UTC](https://discuss.elastic.co/t/kibana-saml-session-timeout/186297/4 "2019-07-17T13:17:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
