diff --git a/services/src/main/java/org/keycloak/services/clientpolicy/executor/SecureClientUrisExecutor.java b/services/src/main/java/org/keycloak/services/clientpolicy/executor/SecureClientUrisExecutor.java index 5ea44c5776..f0214f95d0 100644 --- a/services/src/main/java/org/keycloak/services/clientpolicy/executor/SecureClientUrisExecutor.java +++ b/services/src/main/java/org/keycloak/services/clientpolicy/executor/SecureClientUrisExecutor.java @@ -62,7 +62,14 @@ public class SecureClientUrisExecutor implements ClientPolicyExecutorProvider { + clientRep.setRootUrl("https://hostname2.com"); + clientRep.setRedirectUris(null); + }); + ClientRepresentation client2 = getClientByAdmin(clientUUID2); + Assert.assertNames(client2.getRedirectUris(), "https://hostname2.com"); + getCleanup().addClientUuid(clientUUID2); }