-
Notifications
You must be signed in to change notification settings - Fork 968
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
Add automatic extension of session expiry #3246
Comments
actually, that would only work to customize the lifetime after login, right? That's why we leave it to the application to decide on when to extend sessions. |
also see here: #615 |
@kmherrmann Thanks for the response. I updated the issue (removed confusion around the webhook).
Session need not be extended on every /whoami call - it would suffice to track the timestamp of the most recent successful /whoami and prolong the session, say at most once a minute. Negligible performance penalty. This is how we intend to solve it on our side, hovewer, it would be nice if kratos supported it out of the box :) |
Hello contributors! I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue
Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic. Unfortunately, burnout has become a topic of concern amongst open-source projects. It can lead to severe personal and health issues as well as opening catastrophic attack vectors. The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone. If this issue was marked as stale erroneously you can exempt it by adding the Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you! Thank you 🙏✌️ |
Preflight checklist
Describe your problem
Automatic session extension on every successful user request is arguably a standard and widely practiced approach.
This feature is missing in kratos.
Currently, the only way to extend a user session involves interacting with the kratos admin api. This defeats the purpose of making the downstream services oblivious to the kratos layer (as the downstream service possibly needs to interact with kratos admin as a reaction to the
received webhookauthenticated request).Describe your ideal solution
Add configuration optin for the automatic extension of session expiry.
Workarounds or alternatives
Webhook from kratos on successful authentication, POST to kratos admin from the downstream services as a reaction to thehookauthenticated request.Version
0.13.0
The text was updated successfully, but these errors were encountered: