I set up a new development
realm and created and configured a client rest-client
. I am able to get an access token via http://localhost:8081/realms/development/protocol/openid-connect/token
, but that is pretty much it.
All other endpoint described in the API doc here are just returning Could not find resource for full path
.
Here is an example:
TOKEN=$(curl --silent --data "client_id=rest-client" --data "client_secret=lM39TfopgHLhk4vd1ufJ7rUEAgh4A4wO" --data "username=admin" --data "password=demo" --data "grant_type=password" "http://localhost:8081/realms/development/protocol/openid-connect/token" | jq -r ."access_token") && curl --silent -H "Authorization: bearer $TOKEN" "http://localhost:8081/development/users"
{"error":"RESTEASY003210: Could not find resource for full path: http://localhost:8081/development/users"}
I am using the bitnami/keycloak:latest
docker image (Server Version 18.0.2).
What do I do wrong?
Thank you for any help.