When I try to get my client wit this code:
ClientRepresentation app1Client =
realmResource.clients().findByClientId("central-api").get(0);
that error return:
javax.ws.rs.client.ResponseProcessingException:
javax.ws.rs.ProcessingException:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "authenticationFlowBindingOverrides" (class
org.keycloak.representations.idm.ClientRepresentation), not marked as
ignorable (38 known properties: "enabled", "clientAuthenticatorType",
"redirectUris", "clientId", "authorizationServicesEnabled",
"name",
"implicitFlowEnabled", "registeredNodes",
"nodeReRegistrationTimeout",
"publicClient", "attributes", "protocol",
"webOrigins", "protocolMappers",
"id", "baseUrl", "surrogateAuthRequired",
"adminUrl", "fullScopeAllowed",
"frontchannelLogout", "clientTemplate", "directGrantsOnly",
"rootUrl",
"secret", "useTemplateMappers", "notBefore",
"useTemplateScope",
"standardFlowEnabled", "description",
"directAccessGrantsEnabled",
"useTemplateConfig", "serviceAccountsEnabled",
"consentRequired", "access",
"bearerOnly", "registrationAccessToken", "defaultRoles",
"authorizationSettings"])
this is my pom.
<!--keycloak-->
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-spring-security-adapter</artifactId>
<version>3.4.3.Final</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-spring-boot-starter</artifactId>
<version>3.4.3.Final</version>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-client</artifactId>
<version>3.4.3.Final</version>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.1</version>
</dependency>
<!--resteasy-->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>3.1.3.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson2-provider</artifactId>
<version>3.1.3.Final</version>
</dependency>