mirror of
https://github.com/open-webui/open-webui
synced 2025-05-23 06:14:25 +00:00
fix: add appid to the URL to ensure we fetch the correct parameters in all scenarios
This commit is contained in:
parent
9cb1104f09
commit
818d24e672
@ -560,7 +560,7 @@ def load_oauth_providers():
|
|||||||
name="microsoft",
|
name="microsoft",
|
||||||
client_id=MICROSOFT_CLIENT_ID.value,
|
client_id=MICROSOFT_CLIENT_ID.value,
|
||||||
client_secret=MICROSOFT_CLIENT_SECRET.value,
|
client_secret=MICROSOFT_CLIENT_SECRET.value,
|
||||||
server_metadata_url=f"https://login.microsoftonline.com/{MICROSOFT_CLIENT_TENANT_ID.value}/v2.0/.well-known/openid-configuration",
|
server_metadata_url=f"https://login.microsoftonline.com/{MICROSOFT_CLIENT_TENANT_ID.value}/v2.0/.well-known/openid-configuration?appid={MICROSOFT_CLIENT_ID.value}",
|
||||||
client_kwargs={
|
client_kwargs={
|
||||||
"scope": MICROSOFT_OAUTH_SCOPE.value,
|
"scope": MICROSOFT_OAUTH_SCOPE.value,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user