saida.higuera

Designer Viewr

0 votes

Hello I have one question, for the designer session the package Id that we need must be from the  Transaction for a Sender, or it can be a package id from a normal transaction.


Reply to: Designer Viewr

0 votes

Hi saida.higuera,

 

Thanks for your post! Below is the formula of a designer URL:

https://sandbox.esignlive.com/auth?senderAuthenticationToken={senderToken}&target=https://sandbox.esignlive.com/a/transaction/{packageId}/designer

Note here the parameter is "senderAuthenticationToken", in this case, the package ID can only be the ID when you retrieved this sender authentication token:
POST /api/authenticationTokens/sender

{

    "packageId":"Nw7q_VpnEcqQ-0ySHvTl6vho-sU="

}

 

Alternatively, if you retrieve the user authentication token, and use parameter "authenticationToken" instead, you can build this link with any package ID that was created by this user:

https://sandbox.esignlive.com/auth?authenticationToken={userAuthToken}&target=https://sandbox.esignlive.com/a/transaction/{packageId}/designer

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Designer Viewr

0 votes

Ok thank you for the information. Just to clarify:

I understand with your answer that the same packageID that I ues here: https://sandbox.esignlive.com/auth?senderAuthenticationToken={senderToken}&target=https://sandbox.esignlive.com/a/transaction/{packageId}/designer, has to be the same package id that we use to get the senderAuthenticationToken. 

now the question is can i have a senderAuthenticationToken with a any package ID or it has to be with a packageID of a Sender transaction. 

 


Reply to: Designer Viewr

0 votes

Hi saida.higuera,

 

You can only retrieve the sender authentication token if:
#1 you are authenticating the API call with an API Key/Token of an admin user (depending on if your account has "Roles & Permissions" feature turned on, you will need different settings to make sure the admin user has sufficient permissions, we can talk about this later)

#2 the transaction/package was created by a sender under your account (In this sense, it's more close to "sender transaction" I believe)

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


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