Sequence of a FIDO-based transaction data signing operation
1. The app starts the transaction signing process. This triggers the web server to initiate the authentication to the OneSpan Trusted Identity platform API by calling the [POST /users/{userID@domain}/generate-fido-authentication-request](https://community.onespan.com/products/onespan-cloud-authentication/sandbox#/FIDO Authentication/generateFidoAuthenticationRequest) endpoint.
> The web server adds a transaction validation message, which is transferred to the OneSpan Trusted Identity platform API during the intialization of the authentication.
2. The OneSpan Trusted Identity platform API initializes the authentication with the FIDO Server.
3. The FIDO Server proceeds to generate an authentication request that is sent to the OneSpan Trusted Identity platform API.
The FIDO Server generates an authentication request with an embedded transaction validation message.
4. The OneSpan Trusted Identity platform API receives the authentication request and sends it to the web server.
5. The web server forwards the request to the app.
6. The app communicates with the FIDO authenticator to generate an authentication response.
If a FIDO UAF authenticator with a built-in display is used, it will display the transaction validation message when asking the user for confirmation.
7. The app forwards the authentication response together with the transaction data to the web server. The web server forwards this data to the OneSpan Trusted Identity platform API by calling the [POST /users{userID@domain}/transactions/validate](https://community.onespan.com/products/onespan-cloud-authentication/sandbox#/Transactions/transactionValidationUsingPOST) endpoint.
8. The OneSpan Trusted Identity platform API finalizes the transaction data signing with the FIDO Server.
9. The FIDO Server generates a verification response that is sent to the OneSpan Trusted Identity platform API.
10. The OneSpan Trusted Identity platform API receives the verification response and sends it to the web server.
11. To conclude the transaction data signing process, the web server sends this verification response to the app.