Skip to content
m8ty Logo m8ty
Menu

· 3 min read · by m8ty

How to Power a Smooth Transition from Onboarding to Secure Device Binding in Banking with FIDO2 and Flexible Identity Verification

How banks can securely bind a FIDO2 credential to a specific device, whether identity verification completes instantly or takes days.

A bank building with a glowing padlock above a smartphone, surrounded by orange circuit lines.

Modern banking apps demand both tight security and a smooth user experience. Whether a user is onboarding instantly or waiting hours for a manual identity check, one challenge remains constant:

How do we securely bind a FIDO2 credential to a specific device without leaving room for impersonation or misuse, even if the identity verification is delayed?

The Challenge: Power a Smooth Transition

During onboarding, users might go through identity checks such as:

  • ID scanning
  • Face or video verification
  • Document upload for manual review

These checks can happen immediately, or be delayed for hours or days.

Without protection, a delay opens the door to threats like:

  • Token theft
  • Impersonation
  • Replay or reuse of FIDO registration links or codes

The Solution: Secure Token + Device Binding Flow

The flow we apply works securely with immediate or delayed identity verification by relying on public-key cryptography and secure enclaves (TEE).

1. Initial Onboarding (App → Backend)

  • The app generates a device keypair in secure hardware (TEE/Secure Enclave)
  • It sends the device public key (device_cert) and metadata to the backend

2. Identity Verification

  • The backend queues the onboarding for manual or automatic verification
  • Once verified (immediately or later), the backend:
    • Generates a short-lived fido_registration_token
    • Signs it with the backend private key
    • Encrypts it with the device's public key
    • Sends it via push notification to the app

3. Secure FIDO2 Registration (App → Backend)

  • The app decrypts and verifies the token
  • It sends a signed and encrypted FIDO2 registration request:
    • Signed using the device private key
    • Encrypted using the server's public key

Sequence diagram of the onboarding flow between user, app, backend, TEE, manual identity verification and push service, from the device key pair to the FIDO2 registration.

What This Secures

Risk Mitigation
Token misuse/theft Token is encrypted for the device; only it can decrypt it
Server spoofing The server's signature is verified by the app
Device impersonation The device proves possession of its private key during registration
Replay or reuse Tokens are one-time use and time-limited
Delayed identity verification The token is only issued after verification is complete

Why It Works So Well

This approach supports both:

  • Real-time onboarding (e.g., automated face scan + instant registration)
  • Delayed onboarding (e.g., manual ID verification within 24–48 hours)

And still guarantees:

  • FIDO2 is only usable on the correct device
  • The device was verified before FIDO2 keys were registered
  • No sensitive tokens can be intercepted or misused

Bottom Line

This flow allows banks to combine:

  • The zero-trust security of FIDO2
  • The flexibility of delayed or immediate identity verification
  • The cryptographic assurance of secure device binding

Whether your onboarding process takes seconds or days, this is how to do secure FIDO2 device activation right.

To learn why FIDO2 is the right choice, please read Mastering Secure FIDO Deployment for Next-Generation Banking Applications.

Related products

  • MultibankingBanking app, BFF Server and Push Server Three building blocks for digital banking: the modular m8ty App for Android and iOS, the BFF Server as integration layer to the core banking system and the Push Server for notifications. m8ty App documentation page on docs.m8ty.eu

More posts

Let us talk about it

Tell us briefly what it is about. You will get an answer from someone who knows the product.

Get in touch