Skip to content

PKCE support in the SDK #333

@nicolassanmar

Description

@nicolassanmar

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:

  1. 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.
  2. Add optional parameters to authentication functions to allow us to send our own code_challenge and code_verifier in each relevant call.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions