From 24c87a47a6f7e170347a4f098f828fead7f85939 Mon Sep 17 00:00:00 2001 From: Jens L Date: Fri, 12 Jan 2024 15:51:09 +0100 Subject: [PATCH] sources/oauth: revert azure_ad profile URL change (#8139) Signed-off-by: Jens Langhammer --- authentik/sources/oauth/types/azure_ad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/sources/oauth/types/azure_ad.py b/authentik/sources/oauth/types/azure_ad.py index ec57640d1..3ed0496a6 100644 --- a/authentik/sources/oauth/types/azure_ad.py +++ b/authentik/sources/oauth/types/azure_ad.py @@ -50,7 +50,7 @@ class AzureADType(SourceType): authorization_url = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize" access_token_url = "https://login.microsoftonline.com/common/oauth2/v2.0/token" # nosec - profile_url = "https://login.microsoftonline.com/common/openid/userinfo" + profile_url = "https://graph.microsoft.com/v1.0/me" oidc_well_known_url = ( "https://login.microsoftonline.com/common/.well-known/openid-configuration" )