diff --git a/services/src/main/java/org/keycloak/services/managers/AuthenticationManager.java b/services/src/main/java/org/keycloak/services/managers/AuthenticationManager.java index 0a02633c7c..5805ba4071 100755 --- a/services/src/main/java/org/keycloak/services/managers/AuthenticationManager.java +++ b/services/src/main/java/org/keycloak/services/managers/AuthenticationManager.java @@ -198,7 +198,7 @@ public class AuthenticationManager { return auth; } catch (VerificationException e) { logger.debug("Failed to verify identity cookie", e); - expireIdentityCookie(realm, uriInfo); + expireCookie(cookie.getName(), cookie.getPath()); } return null; }