Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run a realm import multiple times; create a user eventually the user password history limit is hit and keycloak-config-cli errors KC only throws a warning #1112

Open
stecullum opened this issue Jul 26, 2024 · 0 comments
Assignees
Labels

Comments

@stecullum
Copy link

Current Behavior

During a realm import, we create a user, set the password and also turn on password history for realm
Running the realm import multiple times; eventually the user password history limit is hit and keycloak-config-cli errors.

  • Note that keycloak only throws a warning message and the actual realm import itself seems to succeed

This is causing us big issues as we rely heavily on the exit code of keycloak-config-cli ( its run inside a kubernetes job .. ).

Expected Behavior

If keycloak only issues a warning the tool should not fail

Steps To Reproduce

Create a realm file

Create a user and set password
Set a password history policy

Run it multiple times until the policy is hit

Environment

  • docker.io/adorsys/keycloak-config-cli:latest-25.0.1
  • quay.io/keycloak/keycloak:25.0.2

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

3 participants