From b1049b85b2c6ac9abece0444d096f189541df42a Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Sat, 30 Nov 2024 12:36:06 +0000 Subject: [PATCH] Use 'Microsoft Entra ID' in OIDC DevUI --- .../oidc/deployment/devservices/OidcDevUIProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/OidcDevUIProcessor.java b/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/OidcDevUIProcessor.java index fa5437300c4c8..777a11452a1d8 100644 --- a/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/OidcDevUIProcessor.java +++ b/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/OidcDevUIProcessor.java @@ -52,7 +52,7 @@ public class OidcDevUIProcessor extends AbstractDevUIProcessor { // Well-known providers private static final String KEYCLOAK = "Keycloak"; - private static final String AZURE = "Azure"; + private static final String ENTRAID = "Microsoft Entra ID"; private static final Set OTHER_PROVIDERS = Set.of("Auth0", "Okta", "Google", "Github", "Spotify"); OidcBuildTimeConfig oidcConfig; @@ -151,7 +151,7 @@ private String tryToGetProviderName(String authServerUrl) { return KEYCLOAK; } if (authServerUrl.contains("microsoft")) { - return AZURE; + return ENTRAID; } for (String provider : OTHER_PROVIDERS) { if (authServerUrl.contains(provider.toLowerCase())) {