keycloak/keycloak-nodejs-admin-client

pushRevocation call sends empty payload

jenny-s51 opened this issue · 1 comments

Describe the bug
A clear and concise description of what the bug is.

See keycloak/keycloak-ui#896 (comment)

To Reproduce
Steps to reproduce the behavior:

In new Keycloak admin console

  1. Go to clients -> select a client -> Advanced tab
  2. Click "Push" in the Revocation section (uses the pushRevocation call declared here:
    public pushRevocation = this.makeRequest<{id: string}, void>({
    method: 'POST',
    path: '/{id}/push-revocation',
    urlParamKeys: ['id'],
    });
    )
  3. Inspect Network call - payload request is send as empty object {}
  4. Go to the old admin console and repeat the Steps 1-2.
  5. Inspect the network call - payload request is sent as {"realm":"master","client":"4de84009-bd79-4f1d-8349-cf28d08a9c86"}

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Enviroment (please complete the following information):

  • OS: [e.g. Ubuntu]
  • Keycloak Version
  • Library Version [e.g. 1.9.0]

Additional context
Add any other context about the problem here.

Closing this issue as it should send an empty payload per review by @edewit - there is a bug in the old console. Opened #193 to add push-revocation call to realms in addition to clients where it currently exists as a different call.