You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tech Spike: Automatically delete expired Jwt and Session tokens #4252
Currently, with the new authentication module, users have to manually call .deleteExpired*Tokens
Proposal
We need to discuss about the best way of to automatically delete expired tokens. Current discussions within the team are:
We should not use future calls for this purpose as this causes the database to never sleep
Trigger and forget a delete on token rotation (this only applies for Jwt). Users would be able to configure a min interval to trigger this to ensure we don't trigger this too often
Use Case
Reduce overhead of users deleting expired tokens manually
Alternatives
N/A
Additional context
No response
How experienced are you with this library?
Expert - Experienced and comfortable with using this library in complex projects
changed the title [-]Spike: Automatically delete expired Jwt and Session tokens[/-][+]Tech Spike: Automatically delete expired Jwt and Session tokens[/+]on Nov 20, 2025
Activity
[-]Spike: Automatically delete expired Jwt and Session tokens[/-][+]Tech Spike: Automatically delete expired Jwt and Session tokens[/+]