keycloak-config-cli: Issue: Unrecognized field "bruteForceStrategy"`
Current Behavior
We have updated our keycloak to the latest version 26.0.5. Now our configuration job in our pipeline fails with:
jakarta.ws.rs.ProcessingException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "bruteForceStrategy"
We are using v6.1.5/keycloak-config-cli-25.0.1. When is it planned to release a new version that fixes that issue?
Expected Behavior
No jakarta.ws.rs.ProcessingException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "bruteForceStrategy" error.
Steps To Reproduce
No response
Environment
- Keycloak Version: [26.0.5]
- keycloak-config-cli Version: [6.1.5/keycloak-config-cli-25.0.1]
- Java Version: [21]
Anything else?
No response
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 4
- Comments: 16 (2 by maintainers)
We are also waiting for the new release. Who can give us an idea on when to expect the new jar? Thanks
@tim-koehler I’m not sure how to upgrade
keycloak-admin-clientspecifically but upgrading my entire Keycloak instance to 25.0.5 has solved this issue indeed, thank you. Getting some new errors (500s and 404s) when running keycloak-config-cli now, but hey it’s still progress 🙂@AssahBismarkabah sorry, I have not tried to update since I managed to find this arrangement of versions that worked. I’m not sure I will be able to test the latest release anytime soon.
Still seeing this today with the image
adorsys/keycloak-config-cli:6.2.1-26, against a 26.0.2 Keycloak instance:Error message:
HTTP 400 Bad Request{"error":"Unrecognized field \"bruteForceStrategy\" (class org.keycloak.representations.idm.RealmRepresentation), no t marked as ignorable (143 known properties: \"userFederationMappers\", \"rememberMe\", \"duplicateEmailsAllowed\", \"adminEventsDetailsEnabled\", \"users\", \"clientOfflineSessionMaxLifespan\", \"webAuthnPolicyRequireResidentKey\", \"webAuthnPolicyPasswordlessAvoidSameAu thenticatorRegister\", \"components\", \"otpPolicyType\", \"accessCodeLifespanUserAction\", \"id\", \"webAuthnPolicyAttestationConveyancePreference\", \"enabledEventTypes\", \"applications\", \"webAuthnPolicyPasswordlessSignatureAlgorithms\", \"eventsListeners\", \"ssoSes sionMaxLifespanRememberMe\", \"defaultDefaultClientScopes\", \"webAuthnPolicyPasswordlessCreateTimeout\", \"clientOfflineSessionIdleTimeout\", \"notBefore\", \"publicKey\", \"smtpServer\", \"clientPolicies\", \"resetPasswordAllowed\", \"webAuthnPolicyAvoidSameAuthenticato rRegister\", \"accessTokenLifespanForImplicitFlow\", \"webAuthnPolicyPasswordlessUserVerificationRequirement\", \"clientScopes\", \"internationalizationEnabled\", \"defaultRole\", \"accessTokenLifespan\", \"passwordCredentialGrantAllowed\", \"federatedUsers\", \"applicati onScopeMappings\" [truncated]])\n at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 1283] (through reference chain: org.keycloak.representations.idm.RealmRepresentation[\"bruteForceStrategy\"])"}What is the docker image or path of this edge version?
@ValentinLorand You can use the edge version for now and move to the released version when it is released.