Open samuelhgf opened 3 months ago
Hi there,
This is the expected behaviour. To generate a recipientView without a clientUserId, you'd need to authenticate the request as the recipient. Otherwise, embedded views require a clientUserId to be set.
If you'd like for the recipients to not get modified, you can lock your senderView so that the user accessing the senderView can only access the tagger by setting the startingScreen parameter
Another way I can think of would be to use a Docusign Connect event on "envelope-sent" to check the envelope and update the recipients to have a clientUserId in place.
Hi @karankaushik95, thanks for the quick reply!
Do you have some docs link that explains how to authenticate the request as the recipient?
And I didn't follow this option to set the starting screen to tagger. What exactly it does ?
And using the DocuSign Connect you mean update the envelopes signer after it as sent with their client_user_id and before creating the signing link ?
Hi, I'm using the library inside a Laravel project where I'm trying to generate the signing url for a specific signer. Before this, the envelope is created using the api as well, calling the
createSenderView
endpoint, passing all of the envelope definitions.TL;DR
The
createRecipientView
endpoint only works passing theclient_user_id
correct. The same that was passed within the envelope creation endpoint (createRecipientView
).Since I'm using a
template_id
, I also pass theTemplates Roles
to the envelope definitions. Inside the templates roles I can pass theclient_user_id
, but if the person that is finishing the envelope deletes the signers and creates new ones even with the same data (Name and Email) the client_user_id will be null. And with this field null, when I try to get the embedded signing url, calling thecreateRecipientView
, passing the signer's name, email andclient_user_id = null
returned by DocuSign, the loaded envelope does not have the signature field, seems to be in a review mode. I also tried using theuser_id
from DocuSign and got the same thing.Creating the preview and send envelope url
Creating the embedded signing url