authentik
authentik copied to clipboard
Session Duration
Describe your question
In my login stage, I set a very long session duration (hours=87601, i.e. 10 years), which I can see in the cookie in the browser. However, I am sometimes logged out much sooner than that. I haven't really noticed a pattern yet, but I think it's usually in the magnitude of a few weeks.
So my question is whether there are any other conditions for when a session is terminated, besides the cookie lifetime.
Relevant infos
Screenshots
Logs
Version and Deployment (please complete the following information):
- authentik version: 2021.12.01-rc1
- Deployment: docker-compose
Additional context
There shouldn't be anything else on the authentik side; the only thing I could think of would be changing the secret_key would invalidate all sessions; and of course browsers or extensions might be cleaning cookies.
I have however also noticed this happening, seemingly at random aswell.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am still sometimes logged out without obvious cause...
Same, but only happens on safari and randomly for me
Same, but only happens on safari and randomly for me
Same issue on Safari Mobile
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
the above commit fixes the issue but it still happens on safari for me