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

Duplicate validation message “Please specify username.” shown on login form [GHI#39663]

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

      login/ui

      Describe the bug

      When attempting to submit the login form without entering a username, the form displays the validation error message “Please specify username.” twice. This results in two identical error messages appearing either stacked or duplicated in the UI.

      <img width="921" alt="Image" src="https://github.com/user-attachments/assets/38107ba5-b20f-4919-9865-214ce500aaa8" />

      Version

      26.2.4

      Regression

      [x] The issue is a regression

      Expected behavior

      Only one validation error message “Please specify username.” should be shown.

      Actual behavior

      The message “Please specify username.” appears twice.

      How to Reproduce?

      1. Create a authentication flow using "Username Form"
      2. Go to the Keycloak login page.
      3. Leave the Username field empty.
      5. Click the Log in button.
      6. Observe the validation error message.

      Anything else?

      Was working ias expected n version 25.0.6

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

                Created:
                Updated:
                Resolved: