Skip to content

[Due for payment 2026-03-31] [ECUK In-App 3DS] [App] Add usePasskeysBiometrics hook and WebAuthn helpers #79464

@dariusz-biela

Description

@dariusz-biela

Part of Adding biometric 3DS authentication for Expensify Cards

Implement part of this section of the design doc.

Add a usePasskeysBiometrics hook that handles Passkeys registration + authorization, manages frontend ↔ backend data exchange, and bridges low-level WebAuthn utils with MultifactorAuthenticationContext.

Additionally:

  • Expose availability checks from the hook

  • Add WebAuthn helpers

    • Normalize WebAuthn inputs/outputs into internal shapes
    • Provide ArrayBufferbase64url conversions
    • Normalize common WebAuthn errors into internal error shapes/codes
Issue OwnerCurrent Issue Owner: @dariusz-biela

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionTaskWeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions