Skip to content

fix(auth): raise default session TTL from 2 h to 7 d - #21

Merged
SammyBytes merged 1 commit into
mainfrom
fix/extend-session-ttl
Aug 31, 2026
Merged

fix(auth): raise default session TTL from 2 h to 7 d#21
SammyBytes merged 1 commit into
mainfrom
fix/extend-session-ttl

Conversation

@SammyBytes

Copy link
Copy Markdown
Owner

Operators were hitting 'Not logged in' after short breaks because the refresh-token TTL was 2 hours. Combined with v0.7.10 access-token auto-refresh, the refresh token only needs to outlive the longest gap between operator sessions. 7 days covers a long weekend; every /refresh slides the window out so active operators effectively stay logged in. Override for higher security.

277 unit tests pass; lint clean.

Operators hitting 'Not logged in. Run deltix login first.' after a
short break were hitting the 2-hour refresh-token TTL. Combined with
the v0.7.10 access-token auto-refresh, the refresh-token only needs to
outlive the longest gap between operator sessions. 7 days covers a
long weekend; every /refresh slides the window so active operators
effectively stay logged in. Override the env var for higher-security
installations.

277 unit tests pass; lint clean.
@SammyBytes
SammyBytes merged commit b0a8892 into main Aug 31, 2026
2 checks passed
@SammyBytes
SammyBytes deleted the fix/extend-session-ttl branch August 31, 2026 18:42
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.

1 participant