mirror of
https://github.com/open-webui/docs
synced 2025-05-19 18:58:41 +00:00
OAUTH_UPDATE_PICTURE_ON_LOGIN
documentation
This commit is contained in:
parent
1b395d3838
commit
1c9a3feb8d
@ -21,6 +21,7 @@ There are several global configuration options for OAuth:
|
|||||||
1. `ENABLE_OAUTH_SIGNUP` - if `true`, allows accounts to be created when logging in with OAuth. Distinct from `ENABLE_SIGNUP`.
|
1. `ENABLE_OAUTH_SIGNUP` - if `true`, allows accounts to be created when logging in with OAuth. Distinct from `ENABLE_SIGNUP`.
|
||||||
1. `OAUTH_MERGE_ACCOUNTS_BY_EMAIL` - allows logging into an account that matches the email address provided by the OAuth provider.
|
1. `OAUTH_MERGE_ACCOUNTS_BY_EMAIL` - allows logging into an account that matches the email address provided by the OAuth provider.
|
||||||
- This is considered insecure as not all OAuth providers verify email addresses, and may allow accounts to be hijacked.
|
- This is considered insecure as not all OAuth providers verify email addresses, and may allow accounts to be hijacked.
|
||||||
|
1. `OAUTH_UPDATE_PICTURE_ON_LOGIN` - if `true`, users will have OAuth-provided profile pictures updated on login.
|
||||||
|
|
||||||
### Google
|
### Google
|
||||||
|
|
||||||
|
@ -2354,6 +2354,13 @@ address. This is considered unsafe as not all OAuth providers will verify email
|
|||||||
potential account takeovers.
|
potential account takeovers.
|
||||||
- Persistence: This environment variable is a `PersistentConfig` variable.
|
- Persistence: This environment variable is a `PersistentConfig` variable.
|
||||||
|
|
||||||
|
#### `OAUTH_UPDATE_PICTURE_ON_LOGIN`
|
||||||
|
|
||||||
|
- Type: `bool`
|
||||||
|
- Default: `False`
|
||||||
|
- Description: If enabled, updates the local user profile picture with the OAuth-provided picture on login.
|
||||||
|
- Persistence: This environment variable is a `PersistentConfig` variable.
|
||||||
|
|
||||||
#### `WEBUI_AUTH_TRUSTED_EMAIL_HEADER`
|
#### `WEBUI_AUTH_TRUSTED_EMAIL_HEADER`
|
||||||
|
|
||||||
- Type: `str`
|
- Type: `str`
|
||||||
|
Loading…
Reference in New Issue
Block a user