Activate binding with app-to-app
The merchant application redirects the end user to the issuer application to approve the binding request. The approval decision comes from the issuer backend via VTS.
Device binding starts in the merchant application, but the final approval comes from the issuer backend.
Avoid device/server desynchronization. Activate the binding locally only after the token requestor is notified of success.
Flow
1
The end user selects the app-to-app option.
2
The decision is forwarded to Thales backend.
3
The merchant application redirects the end user to the issuer application.
4
The end user authenticates and validates the binding request in the issuer application.
5
The issuer accepts the binding request and informs VTS.
6-7
VTS notifies Thales backend to inform the merchant/PSP backend.
8
The merchant/PSP backend communicates the result to the merchant application.
9
The merchant application ends the pending binding session in the Thales SDK.
SDK integration
This page continues the flow after Create device binding (yellow flow).
1. Select the app-to-app ID&V method
During createBinding or resumeBinding, select the app-to-app ID&V method.
Once the application submits the selected ID&V method successfully, the onIssuerAuthenticationReady callback will be returned to the application. Otherwise, an onError callback will be returned.
2. Get app-to-app redirection data
Your merchant application must handle the app-to-app redirect. This is outside the scope of the Thales SDK.
The merchant application can use the deep link mechanism to launch the issuer application. The data needed for binding activation can be retrieved from the IDVMethod object.
The merchant application can use URL Schemes or Universal Links to launch the issuer application. The data needed for binding activation can be retrieved from the IDVMethod object.
3. Activate the binding
After the end user returns from the issuer application, wait for your merchant or PSP backend to confirm approval. Then activate the binding locally by calling activateBinding on the IDVSession object.
Pass null to indicate the flow is complete.
The result of activating the binding process is returned via the onSuccess callback function or onError if there is an error.
The result of activating the binding process is returned via the completionHandler callback function. In cases where the binding activation fails, completionHandler will be called and an IDVSession object together with an error object will be passed to the end user to retry the process.
Last updated
Was this helpful?