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

type of clients.findRole() in @keycloak/keycloak-admin-client is wrong [GHI#27444]

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/client-js

      Describe the bug

      clients.findRole() in @keycloak/keycloak-admin-client returns null if the no role matching the parameters was found. The types however don't include null in the return value

      Version

      Irrelevant

      Regression

      [ ] The issue is a regression

      Expected behavior

      Types should include null

      Actual behavior

      Types dont include null

      How to Reproduce?

      Trivial

      Anything else?

      No response

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

                Created:
                Updated:
                Resolved: