stuladhar

Sender Session - Access Denied

0 votes
Hi Michael, I have used the following code to get the urlToDsigner string userAuthenticationToken = eslClient.AuthenticationTokenService.CreateUserAuthenticationToken(); AuthenticationClient authenticationClient = new AuthenticationClient("https://sandbox.esignlive.com"); string urlToDesigner = authenticationClient.BuildRedirectToDesignerForUserAuthenticationToken(userAuthenticationToken, packageId); When i enter the url: https://sandbox.esignlive.com/auth?authenticationToken=ZGJhYmYzODktNzRiYy00YWI2LWJlMDYtYWVjNjg5ZGE3YWIw&target=https%3a%2f%2fsandbox.esignlive.com%2fdesigner%2fVwT5ln9M2oJ7doH0CW5T4P_dMTk%3d I get Access Denied error on the browser. Package is not accessible at this time. Am I missing something here? -Sumit

Attachments
Approved Answer

Reply to: Sender Session - Access Denied

0 votes
The issue with getting a designer session would be exactly that, you have no drafts. The designer is meant for embedding into an application where the person using your application will be sending packages out to signers. It allows them to place signatures on the documents and such. If you're wanting a signing session, you'll need to do something like:
string signerAuthenticationToken = eslClient.AuthenticationTokenService.CreateSignerAuthenticationToken(packageId, "[email protected]");
AuthenticationClient authenticationClient = new AuthenticationClient("https://sandbox.esignlive.com");
string generatedLinkToSigningSession = authenticationClient.BuildRedirectToSigningForSigner(signerAuthenticationToken, packageId);
This will give you the signing session that you'd embed in your application for the signer to be able to sign from within an iframe in your application. Hope this helps.

- Michael

Director, Partner and Developer Technologies, OneSpan

Facebook - Twitter - LinkedIn


Reply to: Sender Session - Access Denied

0 votes
Hey Sumit, I am not having issues with this. Is your package still in DRAFT status? Or did you already send it?

- Michael

Director, Partner and Developer Technologies, OneSpan

Facebook - Twitter - LinkedIn


Reply to: Sender Session - Access Denied

0 votes
Hi Michael, Thank you for the response. I have no drafts left in the Dashboard. The documents are in Progress section. What could be the issue then?

Reply to: Sender Session - Access Denied

0 votes
That really helped a lot. Thanks Michael for the reply.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off