Skip to content

fix(auth): add sliding session expiration - #131

Merged
gnacho merged 1 commit into
mainfrom
fix/130-sliding-session
Sep 19, 2026
Merged

gnacho merged 1 commit into
mainfrom
fix/130-sliding-session

Conversation

@gnacho

@gnacho gnacho commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Sessions used to expire at a fixed 30 days after login with no renewal. Now, when less than half the TTL remains, the session expiry is extended and the cookie re-issued with a fresh maxAge.

Closes #130

Sessions used to expire at a fixed 30 days after login with no renewal.
Now, when less than half the TTL remains, the session expiry is extended
and the cookie re-issued with a fresh maxAge, so active users are not
logged out on a fixed schedule.

Closes #130
@gnacho
gnacho merged commit c403fb1 into main Sep 19, 2026
4 checks passed
@gnacho
gnacho deleted the fix/130-sliding-session branch September 19, 2026 19:37
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

Successfully merging this pull request may close these issues.

Add sliding session expiration

1 participant