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 2d8839e8..676e3b8a 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 @@ -58,7 +58,7 @@ public void authenticate(AuthenticationFlowContext context) { } // if only one IDP is enabled or hint IDP is passed, skip the form - if (!idpContext.isEmpty() && (idpContext.size() == 1 || (hintIdp != null && !hintIdp.equals("")))) { + if ((!idpContext.isEmpty() && idpContext.size() == 1) || (hintIdp != null && !hintIdp.equals(""))) { context.attempted(); return; }