mirror of
https://github.com/open-webui/docs.git
synced 2026-03-27 13:28:37 +07:00
oauth env var
This commit is contained in:
@@ -4633,6 +4633,13 @@ In any production environment running more than one instance of Open WebUI (e.g.
|
||||
|
||||
:::
|
||||
|
||||
#### `OAUTH_MAX_SESSIONS_PER_USER`
|
||||
|
||||
- Type: `int`
|
||||
- Default: `10`
|
||||
- Description: Maximum number of concurrent OAuth sessions allowed per user per provider. When a user logs in and the number of existing sessions for that user/provider combination meets or exceeds this limit, the oldest sessions are pruned to make room for the new one. This prevents unbounded session growth while allowing multi-device usage (e.g., logging in from a desktop and a mobile device without invalidating either session).
|
||||
|
||||
|
||||
#### `WEBUI_AUTH_TRUSTED_EMAIL_HEADER`
|
||||
|
||||
- Type: `str`
|
||||
|
||||
Reference in New Issue
Block a user