Choose OAuth Type
Docusign provides four flows for implementing OAuth:
- If each user of your integration will use a single system account to log in, you should use JWT Grant. Note that, when using JWT Grant to obtain an access token, you can still use elements of the other grants to obtain consent.
- If your integration will not use a single system account to log in, it should use Public Authorization Code Grant or Confidential Authorization Code Grant.
- A fourth flow, Implicit Grant, is supported for integrations that cannot secure a secret, but is not recommended. Public Authorization Code Grant should be used instead whenever possible.
Each of these flows has its own advantages, drawbacks, and is intended to support different types of integrations.
Next steps
-
Explore the details of how to obtain access tokens using each grant:
- See how to get an access token using Confidential Authorization Code Grant or Public Authorization Code Grant.
- See how to get an access token with Implicit Grant.
- See how to get an access token with JWT Grant.
-
Learn about options for obtaining and revoking consent.