From ccdf54f526dff5234a6f480dc621191229683b96 Mon Sep 17 00:00:00 2001 From: Nithin Shekar Kuruba Date: Thu, 5 Dec 2024 23:31:51 -0800 Subject: [PATCH] fix: syntax issue --- .../authenticators/browser/IdentityProviderStopForm.java | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/keycloak/extensions-26/services/src/main/java/com/github/bcgov/keycloak/authenticators/browser/IdentityProviderStopForm.java b/docker/keycloak/extensions-26/services/src/main/java/com/github/bcgov/keycloak/authenticators/browser/IdentityProviderStopForm.java index 35aaac76..2d8839e8 100644 --- a/docker/keycloak/extensions-26/services/src/main/java/com/github/bcgov/keycloak/authenticators/browser/IdentityProviderStopForm.java +++ b/docker/keycloak/extensions-26/services/src/main/java/com/github/bcgov/keycloak/authenticators/browser/IdentityProviderStopForm.java @@ -55,6 +55,7 @@ public void authenticate(AuthenticationFlowContext context) { if (context.getUriInfo().getQueryParameters().containsKey(AdapterConstants.KC_IDP_HINT)) { hintIdp = context.getUriInfo().getQueryParameters().getFirst(AdapterConstants.KC_IDP_HINT); + } // if only one IDP is enabled or hint IDP is passed, skip the form if (!idpContext.isEmpty() && (idpContext.size() == 1 || (hintIdp != null && !hintIdp.equals("")))) {