Hi all,
I have a Connect configuration set up with OAuth 2.0 enabled. When I send an envelope request using the API, and I DO NOT include the `eventNotification` section in my envelope definition, everything works as expected - an authorization token is retrieved from my OAuth provider, and then included as a bearer token in the header of the callback request (which just goes to the URL defined in the Connect configuration).
However, I would like to have per-envelope control over the callback URL. To do that, I include an `eventNotification` within the envelope definition. As part of that eventNotification, I am setting `includeOAuth` to true, and `integratorManaged` to true, as per the instructions on this page:
https://www.docusign.com/blog/developers/introducing-oauth-partners-docusign-connect
That page specifically says:
You can use this parameter for account-level and envelope-level configurations.
so I think this should work. However, when the event callback is sent to my webhook, there is no authorization header passed with it.
Interestingly enough, if I set `includeHMAC` to true in my eventNotification, I do get those headers in my callback, so whatever is happening here is specific to OAuth. Has anyone run into this issue before?