[keycloak-user] Java Admin client with signed JWT

Denny Israel denny.israel at googlemail.com
Wed Jun 7 11:00:17 EDT 2017


Hi,

i am using the java admin client to configure my keycloak instance. At the
moment i use client secrets to authenticate against keycloak but want to
use a signed JWT. I know how to enable the signed JWT Auth in Keycloak and
how to pass a JWT via authorization() method to KeycloakBuilder (at least i
think it would work ;-)).

Is there a convenient way to create such a token? What should such a token
contain?

The javadoc of KeycloakBuilder gives example usages of username/password
and client secret authentication but not of JWT authentications.

best regards
Denny


More information about the keycloak-user mailing list