Skip to main content

Recommended: JavaScript SDK for React Native

While this SDK is still supported, we recommend using newer JavaScript SDK, which is optimized for React Native, but also comes with a host of other benefits.
Passkeys MFA is still in close beta. Please contact us to request access to enable this feature for your app.

Introduction

This guide will show you how to add a passkey for MFA to your app using your own custom UI. You can also refer to the general MFA guide here to learn more about this feature (note that this guide is for account level MFA, rather than transaction level MFA).

General Flow

When user already has a passkey registered

  1. User logs in
  2. User is redirected to the MFA view
  3. User adds a passkey
  4. User is redirected to the recovery codes view
  5. User acknowledges the recovery codes
The user must acknowledge the recovery codes before the MFA setup flow is complete.

When user does not have a passkey registered

  1. User logs in
  2. User is redirected to the MFA view
  3. User selects existing passkey to authenticate
User does not need to acknowledge the recovery codes again in this flow.
React Native provides passkey MFA support through the dynamic client’s passkey methods.
React Native
React Native requires platform setup for passkeys. See the setup guide: /react-native/setup-passkey
Last modified on July 24, 2026