Embedded signature rejecting recipient contained in envelope creation
I have successfully created a request for a signature as remote signing using a document created on the fly with htmldefinition. What we’d really like to do is convert this to an embedded signature, so taking that same code which successfully returns an envelope id, I move on to the next endpoint: /restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/views/recipient - substituting the accountId as I did for the initial request to create the envelope, and the envelopeId returned upon successful creation. I include body args:
If you scroll down to the schema, you will be able to see in more detail the properties, types and description:
clientUserId
string
A sender-created value. If provided, the recipient is treated as an embedded (captive) recipient or signer.
Use your application's client ID (user ID) for the recipient. Doing so enables the details of your application's authentication of the recipient to be connected to the recipient's signature if the signature is disputed or repudiated.
Maximum length: 100 characters.
I got that to work but am struggling with the imbedding because of the framesAncestor. I made sure that domain is in the redirect uri and original url. Do you know how I might be able to fix that?
Thanks. I really appreciate the help.
Are you implementing Focused View or classic signing?
Set the return URL to which the user will be forwarded after signing is complete.
Add the recipient information to the view, including the signer's email, name, and clientUserID that were set for the recipient who will sign the envelope.
Okay, thanks. I’m using focused view, but hadn’t previously seen that I needed to set the messageOrigins and frameAncestors to include https://apps-d-docusign.com.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.