@@ -60,7 +60,6 @@ public static (string, string) SendEnvelopeWithFocusedView(
6060 // call the CreateRecipientView API
6161 ViewUrl results1 = envelopesApi . CreateRecipientView ( accountId , envelopeId , viewRequest ) ;
6262
63- // Don't use an iFrame!
6463 // State can be stored/recovered using the framework's session or a
6564 // query parameter on the returnUrl (see the makeRecipientViewRequest method)
6665 string redirectUrl = results1 . Url ;
@@ -114,10 +113,11 @@ public static RecipientViewRequest MakeRecipientViewRequest(string signerEmail,
114113 viewRequest . PingUrl = pingUrl ; // optional setting
115114 }
116115
117- // The FrameAncestors should include the demo or prod link
118- // for DocuSign, and the site where the document should be embedded.
116+ // The FrameAncestors should include the links https://apps-d.docusign.com
117+ // for demo environments and https://apps.docusign.com for prod environments,
118+ // and the site where the document should be embedded.
119119 // The site must have a valid SSL protocol for the embed to work.
120- // MessageOrigins ncludes the demo or prod link and only
120+ // MessageOrigins includes the demo or prod link and only
121121 // takes a single string.
122122 viewRequest . FrameAncestors = new List < string > { "https://localhost:44333" , "https://apps-d.docusign.com" } ;
123123 viewRequest . MessageOrigins = new List < string > { "https://apps-d.docusign.com" } ;
0 commit comments