DocuSign now supports PKCE since March 2023 https://www.docusign.com/blog/developers/docusign-adds-support-pkce.
Unfortunately there is no way to make use of PKCE using the SDK, and I have not found workarounds.
We should add PKCE support to the SDK, and here are two different ways to do so:
- Abstract away PKCE by adding an initialization option
enablePKCE: true to the ApiClient constructor, where code_challenge and code_verifier are added to requests under the hood.
- Add optional parameters to authentication functions to allow us to send our own
code_challenge and code_verifier in each relevant call.
DocuSign now supports PKCE since March 2023 https://www.docusign.com/blog/developers/docusign-adds-support-pkce.
Unfortunately there is no way to make use of PKCE using the SDK, and I have not found workarounds.
We should add PKCE support to the SDK, and here are two different ways to do so:
enablePKCE: trueto theApiClientconstructor, wherecode_challengeandcode_verifierare added to requests under the hood.code_challengeandcode_verifierin each relevant call.