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

Showing LDAP error message when failing to reset password [GHI#35421]

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

      ldap

      Describe the bug

      When using MSAD and attempting to reset the password for a user via the corresponding required action, if the password is using a wrong format it will end up showing a non-user-friendly message but with internal details about the failures.

      That is because we are only interpreting a specific set of LDAP error codes when trying to update passwords.

      Version

      26.0.0

      Regression

      [ ] The issue is a regression

      Expected behavior

      Better message when resetting the user password via required action.

      Actual behavior

      Non-user-friendly message when resetting the user password via required action.

      How to Reproduce?

      • Configure a MSAD provider
      • Try to register a user and provide a password using a invalid format

      Anything else?

      No response

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

                Created:
                Updated:
                Resolved: