Can you show the full code you use?
On 21 September 2016 at 14:57, abhishek raghav <abhi.raghav007(a)gmail.com>
wrote:
Hi Team,
I am facing an issue while I am trying to set Client Authenticator as
'Signed JWT'. I am using Keycloak-admin.jar to do it.
Here I am trying to automate the complete client creation work through a
java program.
ClientAttributeCertificateResource cacr =clientResource.
getCertficateResource("jwt.credentials");
byte[] mycert=cacr.generateAndGetKeystore(keyStoreConfig);
Here keyStoreConfig is the config object which contains all the metadata
required to generate the certificate e.g keystore password, format, alias
name etc.
I could successfully got the certificate generated and got it as a byte
array and in the backend it is not configuring for the client.
I am still seeing this:
Even though value for Client Authenticator is set as Signed Jwt and same
is getting updated in keycloak.json (under installation) as well.
Code to set the authenticator is :
client.setClientAuthenticatorType(client-jwt);
Please
*- Best Regards*
Abhishek Raghav
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user