Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-201

ForbiddenException when importing test realm or creating test user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RH-SSO-7.0.0.ER7
    • None
    • None
    • None

      From time to time (mostly when keycloak is configured with database) I get ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-9) RESTEASY002005: Failed executing GET /admin/realms/test/clients/021b7ccc-9266-45be-a298-5748a4039b08: org.jboss.resteasy.spi.UnauthorizedException: Bearer
      at org.keycloak.services.resources.admin.AdminRoot.authenticateRealmAdminRequest(AdminRoot.java:171)
      at org.keycloak.services.resources.admin.AdminRoot.getRealmsAdmin(AdminRoot.java:202)
      at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
      ...

      while importing test realm or creating test user.

      There is link to test result with error: https://keycloak-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/RH-SSO/job/rh-sso-jpa-matrix/DB=oracle11gR2,jdk=mw_oraclejdk8,label_exp=rhel7/44/testReport/org.keycloak.testsuite.client/ClientRegistrationTest/getClientAsAdmin/

            Unassigned Unassigned
            vramik@redhat.com Vlasta Ramik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: