Skip to main content

In my application i am using iFrame to display the docusign embedded view.

i am able to complete the sign and read the event and perform operations and navigations in my app successfully in local environment.

 

But the issue is when this is tested in production environment, I am able to sign and redirect url is being called giving 200 response but nothing is happening after that. 

 

same code is working fine with local environment and failing in production environment. I am not understanding is it because of any configuration issue or what.

The difference I could see in the network requests is below request is failing. I don’t know exactly this is the problem. PFA below

I am using react router Route to handle the docusign url redirection like below

<Route

path={urls.docusignComplete}

component={() => <CustomDocusignCallback />}

/>

 

In the CustomDocusignCallback component, i am handling the event and calling backend api to update the document status and after that navigating back to home page.

Below is the iframe logic:

 

redirect url is configured properly.

Please help me to resolve this issue.

 

Thanks. 

 

 

 

Hi @SIva Prasad 
It is very hard to say what went wrong without the full code/picture. Since the signing session completed successfully and you get the 200OK, the issue must be coming from some security settings in your Prod env.
Also, please note that we highly discourage the use of iFrames because of the issues they impose. 
A better approach would be to use focused view 


I’d suggest opening a support case so we can have a  better look 


Hi @Ivan.Dinkov 

Greetings!

Thank you for your response.

I have removed the iFrame and implemented the focussed view. But I am facing below issues, can you please help with these:

  1. Refused to connect to 'https://telemetry-d.docusign.net/api/v1/TelemetryWrapper' because it violates the following Content Security Policy directive: "connect-src 'self' https://docucdn-a.akamaihd.net https://cdn.optimizely.com https://api-js.mixpanel.com https://apps-d.docusign.com".
  2. Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

Please help me how to resolve these.

Thank You

 

 


Reply