Make invitation token lifespan configurable #4868
Leinad4Mind
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Idea Description
Currently, user invitation links appear to expire after a relatively short period, likely using the default ASP.NET Identity
TokenLifespan. When an invitation expires, opening the link returns a generic HTTP 400 error, and an administrator must resend the invitation.It would be useful to make the invitation token lifespan configurable in Kavita’s Server Settings, for example, allowing administrators to choose 24 hours, 3 days, 7 days, 14 days, or a custom duration.
This would be particularly helpful for private or community instances where invited users may not open the email immediately.
Suggested implementation:
TokenLifespan.A default of 24 hours could be retained to preserve the current security behaviour.
Idea Category
API
Duration of Using Kavita
1 month
Before submitting
All reactions