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

Short timeout for user sessions #3486

Open
manthey opened this issue Dec 7, 2023 · 0 comments
Open

Short timeout for user sessions #3486

manthey opened this issue Dec 7, 2023 · 0 comments

Comments

@manthey
Copy link
Member

manthey commented Dec 7, 2023

We've had a request to time out user sessions if there has been no activity in 15 minutes. Currently, when a user logs in, we create a token that has a lifespan that defaults to the cookie lifetime (180 days by default). We could expose a setting that would allow fine granularity, but if we did so we need to then update the expires time when the token is accessed.

When the client uses the event stream or polls for events, should this avoid updating the expires time?

Do we need a flag about whether the token can be updated? We probably don't want to extend the expires time of a token that was generated from an API key.

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

1 participant