Keycloak uma-grant type tickets for service accounts do not seem to work with policies
问题 I am trying to use the Keycloak AuthzClient to register resources and related permissions in a resource server. I have a resource server "resourceserver" with authz service enabled. Using the AuthzClient, initialized with the json file containing the resource server's client id and secret, I'm able to obtain a pat. ... authzClient.obtainAccessToken().getToken(); ResourceRepresentation resource = new ResourceRepresentation(); resource.setName("myresource"); resource.setUris(new HashSet<>