# Okta saml logout

**URL:** <https://forum.opensearch.org/t/okta-saml-logout/22119>\
**Category:** OpenSearch Dashboards\
**Tags:** troubleshoot\
**Created:** [October 26, 2024, 7:41pm UTC](https://forum.opensearch.org/t/okta-saml-logout/22119 "2024-10-26T19:41:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![taltsafrir](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@taltsafrir](https://forum.opensearch.org/u/taltsafrir)\
**Post date:** [October 26, 2024, 7:41pm UTC](https://forum.opensearch.org/t/okta-saml-logout/22119/1 "2024-10-26T19:41:13Z")

</div>

Hi, we are using version 2.17 with okta saml  
opensearch\_security.auth.type: ‘saml’  
opensearch\_security.cookie.secure: true  
opensearch\_security.cookie.ttl: 86400000  
opensearch\_security.session.ttl: 86400000  
opensearch\_security.session.keepalive: false

we have those vars but still you need to login after a while  
any ideas?

---

<div class="post-metadata">

**Author:** ![Mantas](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@Mantas](https://forum.opensearch.org/u/Mantas)\
**Post date:** [October 30, 2024, 9:32am UTC](https://forum.opensearch.org/t/okta-saml-logout/22119/2 "2024-10-30T09:32:21Z")

</div>

> [@taltsafrir](#):
>
> opensearch\_security.session.keepalive: false

Hi @taltsafrir,

Have you tried setting `opensearch_security.session.keepalive` to `true`?

You might also be interested in: [Session timeout in Kibana SAML · Issue #159 · opensearch-project/security-dashboards-plugin · GitHub](https://github.com/opensearch-project/security-dashboards-plugin/issues/159#issuecomment-1941875798)

Best,  
mj

---

<div class="post-metadata">

**Author:** ![taltsafrir](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@taltsafrir](https://forum.opensearch.org/u/taltsafrir)\
**Post date:** [October 30, 2024, 9:53am UTC](https://forum.opensearch.org/t/okta-saml-logout/22119/3 "2024-10-30T09:53:54Z")

</div>

thank you, I set it to true but still have the issue  
I think it’s because we are using opensearch version 2.16 with opensearch dashboards version 2.8

---

<div class="post-metadata">

**Author:** ![Mantas](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@Mantas](https://forum.opensearch.org/u/Mantas)\
**Post date:** [October 31, 2024, 4:38pm UTC](https://forum.opensearch.org/t/okta-saml-logout/22119/4 "2024-10-31T16:38:54Z")

</div>

@taltsafrir, have you had a chance to bring your Dashboards to the same version as your OpenSearch?

best,  
mj

---

<div class="post-metadata">

**Author:** ![taltsafrir](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@taltsafrir](https://forum.opensearch.org/u/taltsafrir)\
**Post date:** [November 4, 2024, 8:50am UTC](https://forum.opensearch.org/t/okta-saml-logout/22119/5 "2024-11-04T08:50:13Z")

</div>

No, because of this bug: [[BUG] - OpenSearch Dashboard V2.15.0 - JSON.parse: bad escaped character · Issue #7367 · opensearch-project/OpenSearch-Dashboards · GitHub](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/7367#issuecomment-2243825929)
