s.shashank.v.v…

APEX SDK solution

0 votes

Hi Duo,

 

We have one scenario in which we have 2 salesforce orgs. For the first org we want to submit the pdf for signature using APEX SDK and in the another org we want to sign the pdf from Salesforce Community page using APEX SDK only.

We want to confirm that we can do this using the same OneSpan Account or we have to create 2 OneSpan accounts for user?

Can we register 2 salesforce orgs to single OneSpan Account?

Also, can you confirm singleUseSignerAuthToken method default expiry time can be removed. It should be valid all time.

 

Regards,

Shashank Verma


Reply to: APEX SDK solution

0 votes

Hi Shashank Verma,

 

If you are doing APEX integration with your custom code + APEX SDK (vs leverage OneSpan Sign native SFDC connector), I don't think there's any problem connecting two orgs to one OSS account, and you will have to use the same API Key if creating and signing the same transaction.

In terms of the authentication token expiry, it's always valid for 30 minutes and can't be customized. For the link never expires, you'd use signing URL:

class OneSpanSDK

public String getSigningUrl(String packageId, String signerId)

Also refer to my blog for differences between signing url vs signing auth link.

 

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