Hi,
I am using “signed jwt with Client secret” client authentication. After generating the JWT token, while passing the JWT token against client_assertion for token endpoint, it returns the error “Client authentication with client secret signed JWT failed: Token reuse detected” , though it is the first attempt to retrieve access token.
Stack trace snippet :
KC-SERVICES0025: Error when validating client assertion: java.lang.RuntimeException: Token reuse detected
at org.keycloak.keycloak-services@14.0.0//org.keycloak.authentication.authenticators.client.JWTClientSecretAuthenticator.authenticateClient(JWTClientSecretAuthenticator.java:181)
Using quay.io/keycloak/keycloak :15.0.2 docker image.
Please suggest what is missing.
Thanks,
Cathy