mirror of
https://github.com/open-webui/docs
synced 2025-06-16 11:28:36 +00:00
Added documentation for MICROSOFT_CLOUD config calues
This commit is contained in:
parent
df9f2ab244
commit
6051387267
@ -49,6 +49,10 @@ The following environment variables are required:
|
||||
3. `MICROSOFT_CLIENT_TENANT_ID` - Microsoft tenant ID - use `9188040d-6c67-4c5b-b112-36a304b66dad` for personal accounts
|
||||
4. `MICROSOFT_REDIRECT_URI` - The redirect URI configured in your Microsoft OAuth application. This must be set to `<open-webui>/oauth/microsoft/callback`.
|
||||
|
||||
The following environment variables are optional:
|
||||
|
||||
1. `MICROSOFT_CLOUD` - The microsoft cloud you are using for authentication. Defaults to global. Can also specify AzureUSGovernmentCloud and AzureChinaCloud
|
||||
|
||||
### Github
|
||||
|
||||
To configure a Github OAuth Client, please refer to [Github's documentation](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps) on how to create a OAuth App or Github App for a **web application**.
|
||||
|
@ -2524,6 +2524,17 @@ See https://support.google.com/cloud/answer/6158849?hl=en
|
||||
|
||||
See https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app
|
||||
|
||||
#### `MICROSOFT_CLOUD`
|
||||
|
||||
- Type: `str`
|
||||
- Default: `Global`
|
||||
- Options: environment variables mentioned in [Microsoft Entra authentication endpoints](https://learn.microsoft.com/en-us/entra/identity-platform/authentication-national-cloud)
|
||||
- `Global` - uses microsoftonline.com for the domain
|
||||
- `AzureUSGovernmentCloud` - uses microsoftonline.us for the domain
|
||||
- `AzureChinaCloud` - uses chinacloudapi.cn for the domain
|
||||
- Description: Sets the cloud environment for Microsoft OAuth.
|
||||
- Persistence: This environment variable is a `PersistentConfig` variable.
|
||||
|
||||
#### `MICROSOFT_CLIENT_ID`
|
||||
|
||||
- Type: `str`
|
||||
|
Loading…
Reference in New Issue
Block a user