mirror of
https://github.com/open-webui/open-webui
synced 2025-01-31 15:01:00 +00:00
Add functionality to retrive picture for microsoft oauth
This commit is contained in:
parent
c8be0b20cc
commit
32f121f019
@ -487,6 +487,7 @@ def load_oauth_providers():
|
|||||||
"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",
|
||||||
"scope": MICROSOFT_OAUTH_SCOPE.value,
|
"scope": MICROSOFT_OAUTH_SCOPE.value,
|
||||||
"redirect_uri": MICROSOFT_REDIRECT_URI.value,
|
"redirect_uri": MICROSOFT_REDIRECT_URI.value,
|
||||||
|
"picture_url": "https://graph.microsoft.com/v1.0/me/photo/$value",
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user