Skip to main content
Question

Docusign Authentication API issue

  • 11 July 2024
  • 1 reply
  • 45 views

I got this issue when trying to get access token. So I don’t know how to get code challenge and its method. I tried to search around them but nothing is suitable for my issue. It also tell me bout CODE_VERIFIER, and I’m stucking with how to get these values and solve my problem. Can anyone help me to resolve this issue?

https://{{hostenv}}/oauth/token

{
"error": "invalid_request",
"error_description": "code challenge and code challenge method required"
}
 

1 reply

Badge

This error message suggests that the integration key has been configured with the Proof Key for Code Exchange (PKCE-https://developers.docusign.com/platform/auth/authcode/authcode-get-token/) feature by the developer. This feature boosts the security of the Authorization Code Grant flow. To utilize the optional PKCE code challenge, you should create a pair of code challenge values before initiating the standard ACG flow and requesting an authorization code.

 

My suggestion would be to go to your integration key and find the PKCE option and disable it. This should resolve the issue.

Reply