Merge pull request #8566 from rragundez/ms-auth-picture

Add functionality to retrive picture for microsoft oauth
This commit is contained in:
Timothy Jaeryang Baek
2025-01-15 10:02:28 -08:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -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",
"scope": MICROSOFT_OAUTH_SCOPE.value,
"redirect_uri": MICROSOFT_REDIRECT_URI.value,
"picture_url": "https://graph.microsoft.com/v1.0/me/photo/$value",
}
if (