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

entitlement doesn't work /auth/realms/{realmName}/authz/entitlement/{clientId}

    XMLWordPrintable

    Details

    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Request this method:

      curl -X POST \
      URL/auth/realms/realm/protocol/openid-connect/token \
      -H 'Content-Type: application/x-www-form-urlencoded' \
      -d 'grant_type=client_credentials&client_secret=secret_key&client_id=KYC1&undefined='

      Get This:

      { "access_token": "eyJhbGciOiJSUzI1NiIsIn.....", "expires_in": 60, "refresh_expires_in": 1800, "refresh_token": "eyJhbGciOiJIUzI1......", "token_type": "bearer", "not-before-policy": 0, "session_state": "fbf4cd63-2ecd-47b4-a799-55c866e537cc", "scope": "profile email" }

      then request this API:

      curl -X GET \
      URL/auth/realms/realm/authz/entitlement/KYC1 \
      -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsIn.....' \
      -H 'Content-Type: application/json' \

      the Response is:
      404 Not Found

      Other methods /authz same that

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pcraveiro Pedro Igor Silva
                Reporter:
                alkhandani Jeus Geek
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: