Shyam

Get api key

0 votes

Hi 

I want to retrieve api key, flow is as 

I have many accounts and for document 1 I will use account 1, for document 2 I will use another account 2. 
using C# code I will send document 1 with signers but for that I want to use account 1 api key. 

Document 2 with signers but this time I want to account 2.   

is there any way to fetch api key based on login like - account 1 holder will login OneSpan and after their apikey will be used for further process, so how to get that apikey in my application? 

Shyam


Reply to: Get api key

0 votes

Hi Shyam,

 

If your user has their own OneSpan Sign accounts and API Keys, it would be suggested to have your user manually get the API Key / Token from their respective sender portal, then insert and store securely at your application:

Log onto their sender portal (e.g. https://sandbox.esignlive.com/a/login) > expand "Admin" tab > choose "API Access" > unmask the API Key

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to:

0 votes

Hi Duo

Thanks for your reply. 

Is there any another way using code to get api_key? 

Like user click on any link in my application - redirect to your application for login - after successful login - redirect back to my application with callback url and api_key. And that user will use that api key or any token for further transaction through my website to onespan for document / package creation / signer creation and etc.

 

Thanks

Shyam

Shyam


Reply to:

0 votes

Hi Shyam,

 

I don't think OneSpan Sign provides a web server authentication flow today, in which case, you could open this link in a new tab:

https://sandbox.esignlive.com/a/login?destination=/a/admin/apiaccess

Which redirects your user to their API Access page after logging in. Then, they would close the tab and still manually copy paste the value back to your application.

 

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