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 Expiry #432

Open
sammachin opened this issue May 2, 2024 · 1 comment
Open

Session Expiry #432

sammachin opened this issue May 2, 2024 · 1 comment
Assignees

Comments

@sammachin
Copy link

Further to Slack discussion https://drachtio.slack.com/archives/C017ML321NK/p1714634123788929

It feels like my sessions are expiring rather too often,

I've checked the JWT that I get and the expiry is set to 60mins from when I logged in.

However I suspect that the JWT is created at login with a 60min expiry timer, but never updated so if you’re still logged in and activly using the site after 60mins then you get kicked out.

What it should do is renew the JWT if you send a request and it has less than say 10mins on the timer.

@sammachin
Copy link
Author

Also when a session does expire it would be nice for the page to update to the login screen instead of staying on the last viewed page until you try and submit something, this would avoid the scenario of putting information into a form only to click submit and get the login page.
I guess this needs some sort of client side timer?

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