Skip to content

Commit 8c7889f

Browse files
authored
Merge pull request #1176 from pedro-inf-custodio/main
2 parents 477deb8 + 3660d46 commit 8c7889f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/reference/env-configuration.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4868,6 +4868,11 @@ In any production environment running more than one instance of Open WebUI (e.g.
48684868
- Default: `10`
48694869
- 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).
48704870

4871+
#### `OAUTH_REFRESH_TOKEN_INCLUDE_SCOPE`
4872+
4873+
- Type: `bool`
4874+
- Default: `False`
4875+
- Description: Ensures the full OAuth scope is included during refresh token requests instead of relying on provider defaults. When enabled, the configured scope (e.g. `MICROSOFT_OAUTH_SCOPE`) is passed to the identity provider during token refresh. This is required for providers like Microsoft where missing scopes can cause refresh failures, especially when using custom API scopes.
48714876

48724877
#### `WEBUI_AUTH_TRUSTED_EMAIL_HEADER`
48734878

0 commit comments

Comments
 (0)