In app authentication
Tokenization service is required to use Thales D1 SDK for "in-app authentication" flow.
When tokenizing a card in a digital wallet, manually or from the issuer application, it is possible that a step up end user authentication is required.
Among the different ID&V options offered by the issuer to the end user, the in-app authentication scenario relies on the issuer application to verify the end user identity.
It is possible to use D1 SDK to activate the digital card after a successful authentication.
The issuer app must, first, integrate properly with the wallet provider and recognize, from the Wallet call, the card for which the authentication is required.
This is described in details for each platform in the Integrate in-app ID&V for xPay Wallets section.
In-App Authentication Flow
Pre-requisites
End user, account and card were registered in D1
SDK is properly initialized
Identify the card
Identify the card for which the authentication is required (described in Integrate in-app ID&V for xPay Wallets).
Authenticate the end user
Authenticate the end user and generate an accessToken as defined in the login flow to D1 SDK to authorise the card activation.
D1 SDK provides new API to activate the digital card. Platform-specific examples:
Apple Pay
Since D1 SDK V3.2.0, D1 SDK has provided a digitalCardPass API for the integrator to obtain the digital card passes based on the respective serial numbers.
Google & Samsung Pay
To complete the activation, the issuer app must start an activity context to complete the token activation using the activation parameters passed in the Intent.
Google Pay Wallet State Update
It is recommended that the issuer application registers for Google Pay wallet state changes so that it can update the latest status of the wallet/card on the UI.
These changes include:
When the active wallet changes (by changing the active account).
When the selected card of the active wallet changes.
When tokenized cards are added or removed from the active wallet.
When the status of a token in the active wallet changes.
For a full access to the D1 SDK, please check API reference.
Last updated
Was this helpful?