[keycloak-user] internal server error on /permission endpoint

Geoffrey Cleaves geoff at opticks.io
Sun Nov 18 12:55:14 EST 2018


Is it possible you've got the wrong resource_id? The resource_id should
*not* be your client_id and you said the client is resource-provider.

I think the Docker images use the standalone-ha.xml. I usually do a docker
restart keycloak to reload config files, maybe jboss-cli.sh /:reload works
though.

On Sun, 18 Nov 2018 at 16:04, Robert Richter <robert.richter.02 at gmail.com>
wrote:

>  Hi all,
> I'm using keycloak 4.5.0-FINAL in docker (
> https://hub.docker.com/r/jboss/keycloak/)
>
> I try to issue a permission ticket. Therefore I have requested a PAT for
> the client "resource-provider" and send this along with the following json
> body (with and without scopes). I received a http-500 internal server
> error.
>
> without scopes:{
>     "resource_id": "resource-provider"
> }
> with scopes:
> {
>     "resource_id": "resource-provider",
>     "resource_scopes": [
>       "private-data.read"
>     ]
> }
>
> Did I miss something? I also tried to investigate the log file
> (/opt/jboss/keycloak/standalone/log/server.log) and increase the log level
> in standalone.xml, but it seems that nothing is written to that file. I
> restarted jboss with jboss-cli.sh /:reload. Do you have any suggestions for
> me?
>
> Kind regards
> Tobert
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list