Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-5901

Entitlement API: Internal server error

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide
      • create a client with authorization
      • perform this command:
        $ curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{
        "permissions" : [ { "resource_set_name" : "xxx", "scopes" : [ "xxx" ] }

        ]
        }' "http://localhost:8080/auth/realms/myrealm/authz/entitlement/myclient"

      It replies with 500: Internal Server Error

      Show
      create a client with authorization perform this command: $ curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{ "permissions" : [ { "resource_set_name" : "xxx", "scopes" : [ "xxx" ] } ] }' "http://localhost:8080/auth/realms/myrealm/authz/entitlement/myclient" It replies with 500: Internal Server Error
    • Docs QE Status:
      NEW
    • QE Status:
      VERIFIED

      Description

      If I try to invoke the entitlement API with a non existent scope, it replies with 500: Internal Server Error

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pcraveiro Pedro Igor
                Reporter:
                cdupont2 Corentin Dupont
                Tester:
                Michal Hajas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: