[keycloak-user] authz client incompatible with client definition

Pedro Igor Silva psilva at redhat.com
Mon May 15 10:33:32 EDT 2017


You should only use AuthZ Client if you want to access Protection and
Authorization/Entitlement APIs. To access Keycloak Admin REST API you
should use Keycloak Admin Client.

Regards.
Pedro Igor

On Mon, May 15, 2017 at 10:31 AM, Denny Israel <denny.israel at googlemail.com>
wrote:

> I am writing a command line interface which needs to authenticate against
> keycloak. After creating the client definition in keycloaks admin console i
> copy the installation data (keycloak.json) into the cli. When i try to use
> the authz client i am not even able to create the client because it does
> not know the option "ssl-required". When i remove this option the client
> can be created but throws another exception when i call
> "obtainAccessToken", this time complaining about missing credentials. The
> credentials are missing because i made the client "public".
> Am i doing something wrong or do i missunderstand the purpose of the authz
> client?
> _______________________________________________
> 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