dataiku logout API
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 Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,982 Neuron
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 Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,982 Neuron
-
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 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 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 Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,982 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 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 Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,982 Neuron
There is already a built-in feature for that:
https://doc.dataiku.com/dss/latest/security/advanced-options.html#expiring-sessions
-
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?