litellm - 💡(How to fix) Fix [Feature] : Litellm with session idle timeout [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
BerriAI/litellm#28237Fetched 2026-05-20 03:40:43
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Participants

Fix Action

Fix / Workaround

  1. Is idle session timeout currently supported?
  2. If not, is there any recommended approach/workaround?
  3. Are there plans to support sliding session expiration / inactivity-based logout in the future?
RAW_BUFFERClick to expand / collapse

Hi LiteLLM team,

I’m currently evaluating LiteLLM dashboard authentication/session behavior and wanted to ask about support for idle session timeout.

From what I observed:

  • The dashboard login uses a session cookie (Set-Cookie: token=...)
  • The cookie currently does not include Expires or Max-Age
  • The JWT payload also does not contain an exp claim
  • Closing the browser ends the session, which suggests browser-session-based auth

I understand LiteLLM may already support configuring UI session duration / persistent login lifetime, but I’m specifically looking for idle session timeout behavior.

Example:

  • User logs into the LiteLLM dashboard
  • If there is no activity for 15–30 minutes, automatically log the user out
  • If the user remains active, the session continues (sliding session / inactivity timeout)

Questions:

  1. Is idle session timeout currently supported?
  2. If not, is there any recommended approach/workaround?
  3. Are there plans to support sliding session expiration / inactivity-based logout in the future?

Thank you!

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING