Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session management in Dtale and SSO #809

Open
go-kool opened this issue Sep 28, 2023 · 4 comments
Open

Session management in Dtale and SSO #809

go-kool opened this issue Sep 28, 2023 · 4 comments

Comments

@go-kool
Copy link

go-kool commented Sep 28, 2023

Hi Team,

We are trying to make use of dtale for our EDA purpose and host dtale as a service so that any data analyst can play with the data and comeup with the opportunities. So for doing this we are thinking of managing the sessions for each user. We would like to check if

  1. Sessions can be managed in dtale ?? If yes, Can you please share any documents which can help us.
  2. Can we use SSO to authenticate users.
@go-kool go-kool changed the title Session management in Dtale Session management in Dtale and SSO Sep 28, 2023
@aschonfeld
Copy link
Collaborator

aschonfeld commented Sep 28, 2023

So I think I might see if there is someway I can give users the ability to write their own authentication layer to D-Tale. Just add a parameter where you can specify a function which takes in an instance of the Flask app as a parameter and you can define routes and other things to support authentication.

I don't want to build something specific for SSO because it will just be a matter of time before I'd need to support something else.

For reference this is the current authentication available (it's not great): https://github.com/man-group/dtale#authentication

@go-kool
Copy link
Author

go-kool commented Oct 3, 2023

Is it possible to manage sessoions in Dtale ?

@aschonfeld
Copy link
Collaborator

@go-kool in what way? I know Flask doesn't really allow you to manage sessions. They'll be shared amongst any open browser tabs

@go-kool
Copy link
Author

go-kool commented Oct 19, 2023

@aschonfeld , Like If user A uploaded a data file and analizing the data. At the same time if user B also uploads a new file then there should not be any conflict between these two uses. Both the users will work on different different browsers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants