Signing Transactions
Last updated
Was this helpful?
Last updated
Was this helpful?
Web SDK supports sending a payload, called transaction data, that will be signed by the server when either authentication or enrollment succeed.
The signed transaction is a JWT and can be verified server-side to ensure that the operation was really completed on our servers, and that the signed transaction data matches with what is expected.
Please base the integration code from the following guides:
The transaction data must be sent during the connect call:
The transaction JWT can be retrieved inside the finished
event:
Please base the integration code from the following guides:
The transaction data can be set through the transaction-data
attribute:
The transaction JWT can be retrieved inside the finished event:
There are two options to verify the transaction JWT:
Please note - both operations should be executed backend-to-backend for security purposes, ensuring no keys are leaked.
Retrieve the customer public key using this API: Then import the public key and finally verify the JWT.
Verify the JWT with this API: