From 6c68068551c62ab8385f87e206da2ca602beb965 Mon Sep 17 00:00:00 2001 From: Dewi Roberts Date: Wed, 25 Jun 2025 18:28:16 +0300 Subject: [PATCH] Change UI and blank well known URL --- authentik/sources/oauth/models.py | 6 +++--- authentik/sources/oauth/types/azure_ad.py | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/authentik/sources/oauth/models.py b/authentik/sources/oauth/models.py index bd590779a1..75a92fa752 100644 --- a/authentik/sources/oauth/models.py +++ b/authentik/sources/oauth/models.py @@ -232,12 +232,12 @@ class GoogleOAuthSource(CreatableType, OAuthSource): class AzureADOAuthSource(CreatableType, OAuthSource): - """Social Login using Azure AD.""" + """Social Login using Entra ID.""" class Meta: abstract = True - verbose_name = _("Azure AD OAuth Source") - verbose_name_plural = _("Azure AD OAuth Sources") + verbose_name = _("Entra ID OAuth Source") + verbose_name_plural = _("Entra ID OAuth Sources") class OpenIDConnectOAuthSource(CreatableType, OAuthSource): diff --git a/authentik/sources/oauth/types/azure_ad.py b/authentik/sources/oauth/types/azure_ad.py index 5be46c7bd3..b7d171403b 100644 --- a/authentik/sources/oauth/types/azure_ad.py +++ b/authentik/sources/oauth/types/azure_ad.py @@ -73,9 +73,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://graph.microsoft.com/v1.0/me" - oidc_well_known_url = ( - "https://login.microsoftonline.com/common/.well-known/openid-configuration" - ) + oidc_well_known_url = "" oidc_jwks_url = "https://login.microsoftonline.com/common/discovery/keys" authorization_code_auth_method = AuthorizationCodeAuthMethod.POST_BODY