marklankhorst

Signer authentication

0 votes

Hi OSS Community Team,

For signer person ui we use OneSpan signing URL (https://sandbox.esignlive.com/authentication?target=https://sandbox.esignlive.com/transaction/{:transactionId}/sign&loginToken=******) to get data, in this case we get HTML page.

Is there some way to get in response JSON instead of HTML?


Reply to: Signer authentication

0 votes

Hi Mark,

 

Thanks for your post! May I know the reason why you want to get the package JSON? Are you implementing an integration, or this is to check whether the package has been probably built with signer authentication method?

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Signer authentication

0 votes

Yes we planning to implement an integration, and now trying to investigate if it's possible.


Reply to: Signer authentication

0 votes

Hi Mark,

 

If that's the case, you can start with the Quick Start Guide on how to create and send a transaction. 

And to answer your question directly, the API to retrieve transaction JSON is:

GET /api/packages/{packageId}

Note that you need either API Key or Token to authenticate this API.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Signer authentication

0 votes

Thanks for answer and sorry Duo, maybe you don't got what I meant in question, will try to describe:

 

We already made transaction and build URL for signer person, so in this case we build URL like this 

https://sandbox.esignlive.com/authentication?target=https://sandbox.esignlive.com/transaction/{:transactionId}/sign&loginToken=******

to login signer person, and in response we got HTML page ("signing web app") as expected.

 

And again my question: When we login signer person can we some how get JSON (with all needed data for login signer person) instead HTML?

 

     As example (maybe not correct) we do GET request to this url:

          (https://sandbox.esignlive.com/authentication?target=https://sandbox.esignlive.com/transaction/{:transactionId}/sign&loginToken=******)

     we get HTML page, so maybe we can provide some queries to get JSON instead?


Reply to: Signer authentication

0 votes

Hi Mark,

 

Are you embedding the signing ceremony in an iFrame and what exact data you want to get? Any chance you had tried below API to get package JSON?

https://sandbox.esignlive.com/api/packages/{:transactionId}

Could you elaborate a little bit on what use case you are trying to implement?

 

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