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

Enable client to specify shorter token expiry #819

Open
danielballan opened this issue Nov 22, 2024 · 1 comment · May be fixed by #822
Open

Enable client to specify shorter token expiry #819

danielballan opened this issue Nov 22, 2024 · 1 comment · May be fixed by #822

Comments

@danielballan
Copy link
Member

Quoting the docs:

You may configure:

  • The maximum time to keep an inactive session alive (default is one week)
  • The maximum session lifetime (default is unlimited)
  • Access token lifetime. This is internal from the user’s point of view It should be short. (Default 15 minutes.)

This are global server-side configuration settings. Should we enable the client to request a session with different parameters? The use case is, on my personal laptop, I want Tiled to me logged in so I am not re-prompted every time I restart a Jupyter kernel or an IPython session. On a beamline machine, I might want Tiled to quickly time out my session if I step away. This should be specified at time of login, when the credentials are presented.

@danielballan
Copy link
Member Author

Interested in input for @dylanmcreynolds and others

@maffettone maffettone linked a pull request Dec 2, 2024 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

1 participant