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

Case sensitive Organization/IDP linking on domain [GHI#40253]

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

      organizations

      Describe the bug

      If you link an Identity Provider to an organization, a user is unable to login if they do not enter the domain in all lowercase.

      When configuring domains for an organization, even when entered as TEST.COM, it saves as test.com

      !Image

      If a user tries to sign in with domain TEST.COM they get this error:

      !Image

      but if you enter the domain as lowercase, the user login flow is handled correctly and they are redirected to the IDP.

      Version

      26.2.5

      Regression

      [ ] The issue is a regression

      Expected behavior

      User should be able to enter their username/email address when signing in a case insensitive manor.

      Actual behavior

      User can only enter domain as strictly lowercase

      How to Reproduce?

      Setup an organization and link to a particular Identity Provider. Try logging in with the domain lowercase and uppercase.

      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: