Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-3015

Password Policy Changes get overwritten in the UI [GHI#38703]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      admin/ui

      Describe the bug

      Changes to the Password Policy (e.g. increasing the minimum length) are overwritten if I change something else afterwards.

      Version

      26.1.4

      Regression

      [ ] The issue is a regression

      Expected behavior

      After changing the Password Policy, changing something else (e.g. the Display Name) should not affect the Password Policy.

      Actual behavior

      After changing the Password Policy, changing something (e.g. the Display Name) else leads to reverting the changes to the Password Policy.

      How to Reproduce?

      1. Assuming there is a Password Policy with a length of 6 configured.
      2. Go to Authentication -> Policies -> Password Policy
      3. Increase the minimum length in the Password policy to 8
      4. Press Save
      5. Go e.g. to Realm Settings
      6. Change the Display name
      7. Press Save
      8. Go back to Authentication -> Policies -> Password Policy
      9. The Password Policy has a minimum length of 6 again

      Anything else?

      I think the problem might be that the model of the realm in the UI is not updated correctly after saving the password policy. If I press F5 after changing the Password Policy, the change is preserved.

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: