Skip to main content
Question

CORS error on redirection error

  • January 7, 2026
  • 1 reply
  • 87 views

Forum|alt.badge.img
RecipientViewRequest viewRequest = new RecipientViewRequest();viewRequest.setReturnUrl(redirectUri);

 

My redirectUri is 'http://localhost:8089/callback'

and after user do sign and click finish in loaded iframe - below call fails

'http://localhost:8089/callback?event=signing_complete'

with error 'The connection is blocked because it was initiated by a public page to connect to devices or servers on your local network.'

 

What this error means and how to resolve this issue. Please help

1 reply

Forum|alt.badge.img+8
  • Docusign Employee
  • January 9, 2026

This error is likely related to the browser's local network access rule. Please check this article published by Google for more information: https://developer.chrome.com/blog/local-network-access

Instead of using your own iframe to load Docusign's recipient view, we recommend using the focused view (https://developers.docusign.com/docs/esign-rest-api/esign101/concepts/embedding/embedded-signing/), which works similarly to the iframe but is built and managed by Docusign. You can avoid unexpected issues like this by using the focused view. Please check this blog article, which introduces the possible issues you might encounter when you embed the recipient view into your own iframe: https://www.docusign.com/blog/developers/the-problems-iframes