Skip to content

Commit 32acf3d

Browse files
authored
Merge pull request #559 from ltechconsultancy/main
docs: updated the SSO docs for microsoft so its more clear for users.
2 parents c46fc70 + 36ede81 commit 32acf3d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/features/sso.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,16 @@ The following environment variables are required:
3838
### Microsoft
3939

4040
To configure a Microsoft OAuth client, please refer to [Microsoft's documentation](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app) on how to create a Microsoft OAuth client for a **web application**.
41-
The allowed redirect URI should include `<open-webui>/oauth/microsoft/callback`.
41+
The allowed redirect URI should include `<open-webui>/oauth/microsoft/callback`. This value should be used for the `MICROSOFT_REDIRECT_URI` environment variable.
4242

4343
Support for Microsoft OAuth is currently limited to a single tenant, that is a single Entra organization or personal Microsoft accounts.
4444

4545
The following environment variables are required:
4646

4747
1. `MICROSOFT_CLIENT_ID` - Microsoft OAuth client ID
48-
1. `MICROSOFT_CLIENT_SECRET` - Microsoft OAuth client secret
49-
1. `MICROSOFT_CLIENT_TENANT_ID` - Microsoft tenant ID - use `9188040d-6c67-4c5b-b112-36a304b66dad` for personal accounts
48+
2. `MICROSOFT_CLIENT_SECRET` - Microsoft OAuth client secret
49+
3. `MICROSOFT_CLIENT_TENANT_ID` - Microsoft tenant ID - use `9188040d-6c67-4c5b-b112-36a304b66dad` for personal accounts
50+
4. `MICROSOFT_REDIRECT_URI` - The redirect URI configured in your Microsoft OAuth application. This must be set to `<open-webui>/oauth/microsoft/callback`.
5051

5152
### Github
5253

0 commit comments

Comments
 (0)