From 59bfae2e95e4fe5614e08b2d8c59cc04f7a2dafd Mon Sep 17 00:00:00 2001 From: oss-agent-shin Date: Tue, 26 May 2026 21:46:04 -0700 Subject: [PATCH] docs(env-vars): document EXPERIMENTAL_UI_LOGIN_SESSION_DURATION (LIT-2394) --- docs/proxy/config_settings.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/proxy/config_settings.md b/docs/proxy/config_settings.md index d2491628..d6f4ef9f 100644 --- a/docs/proxy/config_settings.md +++ b/docs/proxy/config_settings.md @@ -885,7 +885,8 @@ router_settings: | LITELLM_HOSTED_UI | URL of the hosted UI for LiteLLM | LITELLM_UI_API_DOC_BASE_URL | Optional override for the API Reference base URL (used in sample code/docs) when the admin UI runs on a different host than the proxy. Defaults to `PROXY_BASE_URL` when unset. | LITELLM_UI_PATH | Path to directory for Admin UI files. Used when running with read-only filesystem (e.g., Kubernetes). Default is `/var/lib/litellm/ui` in Docker. -| LITELLM_UI_SESSION_DURATION | Duration for UI login session (username/password, SSO, invitation links). Format: "30s", "30m", "24h", "7d". Does not apply to EXPERIMENTAL_UI_LOGIN flow, which uses a fixed 10-minute expiry for security. Default is "24h" +| LITELLM_UI_SESSION_DURATION | Duration for UI login session (username/password, SSO, invitation links). Format: "30s", "30m", "24h", "7d". Does not apply to EXPERIMENTAL_UI_LOGIN flow — that uses the separate `EXPERIMENTAL_UI_LOGIN_SESSION_DURATION` env var. Default is "24h" +| EXPERIMENTAL_UI_LOGIN_SESSION_DURATION | Duration for the EXPERIMENTAL_UI_LOGIN session (controls the JWT `expires` claim on tokens issued by `ExperimentalUIJWTToken`). Same `` format as `LITELLM_UI_SESSION_DURATION` ("10m", "1h", "2h", "12h", etc.). Malformed or non-positive values fall back to the default. Default is "10m". | LITELLM_EXPIRED_UI_SESSION_KEY_CLEANUP_BATCH_SIZE | Maximum number of expired LiteLLM dashboard session keys to delete per cleanup run. Default is 1000. | LITELLM_EXPIRED_UI_SESSION_KEY_CLEANUP_ENABLED | Set to `true` to enable the background cleanup job for expired LiteLLM dashboard session keys. Default is `false`. | LITELLM_EXPIRED_UI_SESSION_KEY_CLEANUP_INTERVAL_SECONDS | Interval in seconds for how often to run the expired LiteLLM dashboard session key cleanup job. Default is 86400 (24 hours).