I am using the Docusign SDK in a .Net web application. I am creating an envelope and then sending the client a URL. With this URL it opens a page that uses the envelopeid to generate the signing URL and then using Docusign JS to display within the page. Everything is working except for the returnURL. Once signing is completed it just displays a blank page. The browser is returning this error in the console.
Refused to frame 'https://localhost:44377/' because it violates the following Content Security Policy directive: "frame-src 'self' https://docucdn-a.akamaihd.net/ https://apps-d.docusign.com https://demo.docusign.net https://account-d.docusign.com https://proof-d.docusign.net https://identity-d.docusign.net https://content.googleapis.com https://docs.google.com https://players.brightcove.net https://www.youtube.com https://accounts.google.com https://docusign.sjv.io https://docusign.co1.qualtrics.com/ https://apps.usw2.pure.cloud".
I am assigning the FrameAncestors and Message Origins. Not sure what I am missing here.
Ancestors.Add("https://localhost:44377")
Ancestors.Add("https://apps-d.docusign.com")
Origins.Add("https://apps-d.docusign.com")