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

enabling a realm clears the value of eventsExpiration #1018

Open
vwegert-mag opened this issue May 14, 2024 · 0 comments
Open

enabling a realm clears the value of eventsExpiration #1018

vwegert-mag opened this issue May 14, 2024 · 0 comments
Labels

Comments

@vwegert-mag
Copy link

vwegert-mag commented May 14, 2024

Current Behavior

  1. The user event expiration period (Realm Settings > Events > User event settings > Expiration , eventsExpiration) is removed when a realm is enabled using an isolated configuration file.

Expected Behavior

When importing the config as shown below, I expect the value of eventsExpiration to stay unaffected

Steps To Reproduce

  1. Import the following configuration yaml file
realm: dummy
eventsEnabled: true
eventsExpiration: 123
enabled: true

Result: The realm is created, enabled and the expiration period is set.

  1. Now split the configuration in two separate files:
# --- file 1 ---
realm: dummy
eventsEnabled: true
eventsExpiration: 123

and

# --- file 2 ---
realm: dummy
enabled: true

and import both files at the same time.
Result: the value of eventsExpiration is empty.

Environment

  • Keycloak Version: 24.0.2
  • keycloak-config-cli Version: 5.12.0
  • Java Version: 17.0.11

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant