Rest api 20.0.3 url?

We are using KC image quay.io/keycloak/keycloak:20.0.3. I am trying to get client scopes in rabbitmq realm via REST API, but KC returns:
RESTEASY003210: Could not find resource for full path: https://FQDN/rabbitmq/client-scopes.
KC_HTTP_RELAITVE_PATH is not set.

The format of the admin REST API URLs is:
https://{host}/{relative-path}/admin/realms/{realm}/client-scopes

https://www.keycloak.org/docs-api/21.1.1/rest-api/index.html

1 Like

Kinda strange, I’m surely missing something but i’m trying to use latest image from keycloak in a docker container (Quay - should be 21.1.1). I am running a local instance of keycloak under https on 8443 port and cannot access almost any REST endpoint, as an example:

host = localhost
port = 8443

And i am trying somthing like:

https://{host:port}/admin/realms > 502 Internal server error - no logs inside container
https://{host:port}/{realm}/groups > 404 Not Found - no logs inside container

The only working endpoint i found is:

https://{host:port}/realms/{realm}

Any other endpoint will result in 502 - Internal server error or 404 - Not Found

I did not set any relative path indeed…