Giter Club home page Giter Club logo

Comments (12)

Infraded avatar Infraded commented on July 24, 2024 14

The Opendistro docs for this plugin are sparse to say the least, but there are existing options for timeouts already.

In kibana.yml:

opendistro_security.cookie.ttl | Integer, lifetime of the cookie in milliseconds. Can be set to 0 for session cookie. Default: 1 hour

opendistro_security.session.ttl | Integer, lifetime of the session in milliseconds. If set, the user is prompted to log in again after the configured time, regardless of the cookie. Default: 1 hour

opendistro_security.session.keepalive | boolean, if set to true the session lifetime is extended by opendistro_security.session.ttl upon each request. Default: true

from security-dashboards-plugin.

geekyouth avatar geekyouth commented on July 24, 2024 12

Please give me an advise how to solve this bug quickly???

from security-dashboards-plugin.

yuriydzobak avatar yuriydzobak commented on July 24, 2024 5

The issue is still present =(

from security-dashboards-plugin.

fatalglitch avatar fatalglitch commented on July 24, 2024 5

Upvote... can we get some attention on this? We use OpenID Connect and the ODFE Security Plugin does not handle the session extension/timeout properly at all

from security-dashboards-plugin.

mvanderlee avatar mvanderlee commented on July 24, 2024 3

It's opensearch_security. as defined by the configPath https://github.com/opensearch-project/security-dashboards-plugin/blob/main/opensearch_dashboards.json

Options are defined here: https://github.com/opensearch-project/security-dashboards-plugin/blob/main/server/index.ts

opensearch_security.cookie.ttl 
opensearch_security.session.ttl
opensearch_security.session.keepalive

from security-dashboards-plugin.

snarmaev avatar snarmaev commented on July 24, 2024 2

Hello, I have the same issue with the expiring session time in Kibana. However, I have set options to keep session for 24 hours in kibana.yml

opendistro_security.cookie.ttl: 86400000
opendistro_security.session.ttl: 86400000
opendistro_security.session.keepalive: true

Could you please help with this issue?

from security-dashboards-plugin.

ashuraits avatar ashuraits commented on July 24, 2024 2

I experience the same issue, I have set the ttls for 7 days. I am using SAML authentication and the IDP session is 14 days. However, Kibana continues to logout users after 1 hour

from security-dashboards-plugin.

FranciscoKurpiel avatar FranciscoKurpiel commented on July 24, 2024 2

Is opendistro still active? If not, please update you main README.md to mark it as abandoned.

from security-dashboards-plugin.

ronansalmon avatar ronansalmon commented on July 24, 2024 1

We use OpenID and we are seeing this as well. We've set the TTL on our IDP to 5 minutes. A tcpdump shows traffic to the IDP 5 minutes after being logged in, but the user can no longer access to anything. This is really disturbing from a user experience. Your are still logged in, no warning about your session being expired, but you don't have access to anything.

So I guess there are two issues here :

  • Security Plugin does not handle the session extension/timeout properly
  • The user is not logged out when session expires (or no warning/messages)

from security-dashboards-plugin.

linbingdouzhe avatar linbingdouzhe commented on July 24, 2024

same here . still logout over 1h

from security-dashboards-plugin.

bbrendon avatar bbrendon commented on July 24, 2024

I don't see any documentation or source code supporting these options. Feel free to correct me if I'm wrong.

opendistro_security.cookie.ttl 
opendistro_security.session.ttl
opendistro_security.session.keepalive

from security-dashboards-plugin.

mvanderlee avatar mvanderlee commented on July 24, 2024

@AlexShuraits I had issues with SAML as well. My IDP's timeout is not being honored by OpenSearch and I had to manually set it.
More details here: #159 (comment)

from security-dashboards-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.