I am looking to use DocuSign Connect to update the status of processes in Salesforce and, upon completion, save the signed PDF file in Salesforce.
While I've been able to update the status using the object mapping feature between DocuSign and Salesforce, I found it difficult to save the PDF file post-signature using this method.
To address this, I created a custom REST API in Salesforce and made it public via Salesforce Sites, allowing for public access to the API.
Initially, I considered OAuth 2.0 as a way to validate the source of the requests, which brings me to my main question: although DocuSign Connect supports the Client Credentials Grant flow of OAuth 2.0, Salesforce does not. As a result, I abandoned OAuth 2.0 for validation.
Instead, I implemented HMAC signature validation using the Connect Key, and Salesforce is now able to receive the requests.
Is my understanding correct that OAuth 2.0 validation cannot be used with DocuSign Connect when the recipient is Salesforce?
Reference: https://developers.docusign.com/platform/webhooks/connect/validation-and-security/oauth-connect/