Can you open a signing ceremony as the package owner when not a signer?
Tuesday, June 6, 2017 at 06:31amHi,
I'm using the Java SDK and trying to open the signing ceremony as the package owner (sender), when the package owner isn't a signer in the package.
My assumption was that this code would work:
String signerAuthenticationToken = eslClient.getAuthenticationTokensService().createSenderAuthenticationToken(docPackage.getId().getId());
String url2 = authClient.buildRedirectToPackageViewForSender(signerAuthenticationToken, docPackage.getId().getId());
The result of this is that url2 has the following value:
https://sandbox.esignlive.com/auth?authenticationToken=NWEyMTkxYmYtNGE0Yi00NjVlLTlkODYtMDkwYTcxNTE4MDY4&target=https%3A%2F%2Fsandbox.esignlive.com%2Fpackages%2FN42uVSDtSvlYf_-rhVYLxPC2dCY%3D
The package has a senderInfo property and also has showPackageOwnerInPerson = true and enableInPerson = true
When I try to open that URL in an iFrame, the content will not load due to X-Frame-Options in the header being set to 'sameorigin'. See the attached file for exact error detail.
No problems opening the iframe when I use a signer token and call authClient.buildRedirectToSigningForSigner();
I also tried creating a signing token using the sender's signerId (got an error creating the token since the sender isn't a signer), and calling buildRedirectToSigningForSigner() using a sender token (access denied error).
Is there a way to do this? For in-person signing, we would like to open the signing ceremony as the package owner, who would then switch signers and hand-off the device to the in-person signer.
Thanks in advance,
-Chris
Reply to: Can you open a signing ceremony as the package owner when not a signer?
Tuesday, June 6, 2017 at 09:05amReply to: Can you open a signing ceremony as the package owner when not a signer?
Tuesday, June 6, 2017 at 08:31amauthClient.buildRedirectToPackageViewForSender()
call is for building a redirect for the package sender when the package is in draft status. In other words, when you are looking to do some edits on the package. What you'll need to be doing is the following: Retrieve each role in the package and check which one is the sender. Once you have your role (i.e. the sender), you will need to get its "signer" id, create a signer authentication token, and manually build the redirect to the esignlive signing page. Here's a sample code I've written: Let me know if this works.Reply to: Can you open a signing ceremony as the package owner when not a signer?
Tuesday, June 6, 2017 at 08:52amReply to: Can you open a signing ceremony as the package owner when not a signer?
Tuesday, June 6, 2017 at 09:01amReply to: Can you open a signing ceremony as the package owner when not a signer?
Tuesday, June 6, 2017 at 09:21am