1
votes

I am trying to integrate docusign with java application.

I am following Github example which is working. https://github.com/docusign/docusign-java-client

Here I am just changing Integrator key,clientId and private key but is not working. https://github.com/docusign/docusign-java-client/blob/master/src/test/java/SdkUnitTests.java

Here I have attached how I am copying key and id etc... https://gitlab.com/sanju24689/docusign

Here I have also attached my code also.

It's giving me error like

"com.docusign.esign.client.ApiException: Error while requesting an access token: POST https://account-d.docusign.com/oauth/token returned a response status of 400 Bad Request"

See the stack trace enter image description here

1
"It is not working" doesn't describe the problem exactly. What is not working? Do you get any error messages? - JensV
@JensV please check I have updated - vikash
And the stacktrace of the exception? - JensV
Have you done explicit User Consent of the UserId - ef27e777-c6fc-4385-91ce-63dafab5385b as explained in Step 1 in JWT Doc - Amit K Bist

1 Answers

0
votes

Please try starting with the Java webapp that is ready to go--it is a complete project.

See eg-03-java-auth-code-grant