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

SPA session timeout #354

Open
qrkourier opened this issue May 29, 2024 · 0 comments
Open

SPA session timeout #354

qrkourier opened this issue May 29, 2024 · 0 comments

Comments

@qrkourier
Copy link
Member

I'm using the console as an SPA served by the controller's mgmt web listener. It's tedious to re-log-in so frequently. I expect to remain authenticated for a few hours, at leasta. I'm unsure what the timeout is precisely, it seems to be an hour or less.

The workaround is to globally increase the edge.api.sessionTimeout value which may be undesirable when it represents a significant change of security posture for a particular network.

Can we improve the user experience by implementing the new authentication method with a longer timeout, refresh token, or by sending an innocuous REST request at some interval to keep the session alive? It might be best for the controller to offer discrete API session timeouts for admin and non-admin. That would help in this case. Still, the newer auth method Andrew's been working on might obviate this pain.

relatedly: #340

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