Skip to main content
Question

Configuring OAuth 2.0 for EventNotifications

  • February 14, 2025
  • 3 replies
  • 55 views

Forum|alt.badge.img+1

Hi there!

We currently are working toward adding a DocuSign integration into our App. Our workflow is quite simple and was implemented without issue into our Continuous environment using the eSignature API to create envelopes and Connect to listen to events happening to those envelopes. We use an OAuth2.0 Client to be able to authorize DocuSign to call our backend using a route listening to Connect calls and act on those events. 

Now that the implementation on Continuous has been successful we would like to implement it on other environments including our Test environment. Every environment use a different base url and a different OAuth client. In order to setup that we looked into the EventNotificaiton property of the envelope to be able to configure a custom url to send our events for that specific envelope. I’m still stuck on one last point, I need to be able to specify the OAuth2.0 configuration to use for that EventNotification. Is there a way to specify it? 

Thank you.

3 replies

Forum|alt.badge.img+1

After looking around, i’m wondering if our use-case could be covered by the “Allow Multi Application” setting. Could It be the feature we are looking for?


Forum|alt.badge.img+4

Hi ​@FrancisTVooban,

There is no direct way to specify the OAuth 2.0 configuration (i.e., the OAuth token) for each individual envelope's EventNotification in Docusign. Docusign OAuth tokens are typically set globally for each environment (e.g., Test, Prod) and cannot be configured on a per-envelope basis. You will need to authenticate using the correct OAuth client for the respective environment when creating the envelope.

The "Allow Multi Application" setting allows you to link and configure multiple OAuth applications (OAuth clients) within your Docusign account. But does not directly configure OAuth per envelope for EventNotification.

 


Forum|alt.badge.img+8
  • Community Moderator
  • 415 replies
  • February 25, 2025

Hello ​@FrancisTVooban ,

If you found the response to be a useful solution to your question, please mark it as the best answer by clicking “Select as Best” to make it easier for other users to find.

Best regards,
Marco Paulo | Docusign Community Moderator