You can take a look at the "preconfigured-demo/service-account" example. Mainly at ProductSAClientSignedJWTServlet class. Sorry, we should rather have separate example for service-account and separate for "client generated JWT" to have examples more easy to understand. But hope you are able to understand it from there.

Marek


On 11/06/16 06:39, Michael Chester wrote:
Hi all,

Could someone please point me in the direction of some sample code, preferably Java, that illustrates a client generated JWT being used as a or to generate an access token from Keycloak.  This page http://blog.keycloak.org/2015/10/authentication-of-clients-with-signed.html seemed to be a good start.  But  the link to documentation was dead. So far I have been unable to Google a good code example.  Thank you.

Regards,
Michael Chester


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user