I am working on a web app that uses DocuSigns embedded signing api. I have a form that opens in a new tab and then handles a returnURL once the user signs and submits the form. I wanted to know how I could get the form to close the tab completely once it is submitted rather than it going to a returnURL parameter.
I have tried setting the returnURL to null and looking through the embedded signing API to get any pointers on how I could not have a redirect, but this was to no avail.
Any help would be appreciated.
returnUrl redirect to a backend resource – redirect from there back to your app with some query param that indicates the client app to use some JS functionality to close the current tab.
returnUrl redirect to the client app, just insert the query param directly to it.
Yours redirect url back to the client app should look like this –