Gulshan_kellton

Unable to find registration code in Shared Cache

0 votes

After entering pin on registration screen of Sample , i'm getting error in the response of https://XXXX.sdb.tid.onespan.cloud/v1/orchestration-commands API. Error is Unable to find registration code in Shared Cache. 

 

 


Reply to: Unable to find registration code in Shared Cache

0 votes

Hi Gulshan, 

 

Thanks for your post! Is this error consistent or only happens after you leveraged the activation token few minutes after the generation so that it might get expired in OneSpan server cache?

Also could you kindly have a double check:

(1)if the domain specified in "com.vasco.orchestration.sample.Constants" class is the same as the domain you used to invoke the initial user registration API?

(2)if the "User ID" you input in the screen is the same as the "relationshipRef" and "userID" you specified in the user registration API? It's case sensitive.

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to:

0 votes

Hi Gulshan,

 

I don't currently have a MAC by hand, but I imagine the steps should include:
(1)update the TID domain / accountIdentifier (let's say it's "yourdomain") in "Constants.swift" and launch the sample app

(2)use the Swagger API or any API client and invoke this API (you can use the exact same payload for testing purpose):
POST https://yourdomain.sdb.tid.onespan.cloud/v1/users/register

{
  "objectType": "AdaptiveRegisterUserInput",
  "cddc": {
    "browserCDDC": {
      "fingerprintRaw": "{browser:{\"userAgent\":Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36},support:{\"ajax\":true,\"boxModel\":undefined,\"changeBubbles\":undefined,\"checkClone\":true,\"checkOn\":true,\"cors\":true,\"cssFloat\":undefined,\"hrefNormalized\":undefined,\"htmlSerialize\":undefined,\"leadingWhitespace\":undefined,\"noCloneChecked\":true,\"noCloneEvent\":undefined,\"opacity\":undefined,\"optDisabled\":undefined,\"style\":undefined,\"submitBubbles\":undefined,\"tbody\":undefined},computer:{\"screenWidth\":2560,\"screenHeight\":1440,\"OS\":\"Microsoft Windows\",\"platform\":\"Win32\"},additional:{}}",
      "fingerprintHash": "e96dadc9651f5fe8f071110eb174fe8e7a17a9d7a96b3b1980c13e5b4af3a4d7"
    }
  },
  "clientIP": "192.168.0.1",
  "relationshipRef": "userid1",
  "staticPassword": "Test1234",
  "sessionID": "4ED23EA44F23",
  "userID": "userid1"
}

In the response, you'll get an activation code

(3)Back to the mobile application, click on start activation, and use the same user ID "userid1" and the Activation Password retrieved above.

 

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