dataiku logout API

SangHoon
SangHoon Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 15 ✭✭✭

Is there a way to logout a user via API in Dataiku, other than using the UI-based logout method? If not, are there any alternative methods available?


Operating system used: linux


Operating system used: Linux


Operating system used: Linux

Best Answer

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,024 Neuron
    Answer ✓

    Expiring all user sessions only happens when you restart the DSS backend and enable session expiration. If you don't want that don't restart the DSS backend. Or don't enable session expiration.

Answers

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,024 Neuron
  • SangHoon
    SangHoon Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 15 ✭✭✭

    I would like to approach developing user control for the Dataiku system through API or code development rather than UI-based logout during the development process.

  • SangHoon
    SangHoon Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 15 ✭✭✭
    I would like to approach developing user control for the Dataiku system through API or code development rather than UI-based logout during the development process.
  • SangHoon
    SangHoon Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 15 ✭✭✭

    I would like to approach developing user control for the Dataiku system through API or code development rather than UI-based logout during the development process.

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,024 Neuron

    Sorry but I don't understand what you mean by "developing user control". What's a user control? What are you trying to develop?

  • SangHoon
    SangHoon Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 15 ✭✭✭

    If a DATAIKU user remains logged in without any activity for an extended period, I want to implement a feature that forces a logout.

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,024 Neuron
  • SangHoon
    SangHoon Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 15 ✭✭✭

    WOW!!! thank you but..
    In the given context, there is a statement in the warning message: "Enabling sessions expiration also means that all user sessions are always terminated each time the DSS backend restarts." Is there a way to log out only specific users who have been inactive for a long period of time, rather than expiring all user sessions?

Setup Info
    Tags
      Help me…