Skip to main content
Configure security features for the Para Modal including recovery two-factor authentication and recovery options.

Recovery Two-Factor Authentication

When enabled, users are prompted to set up an authenticator app (TOTP) during account creation. The code is checked during account recovery, not at sign-in.
twoFactorAuthEnabled is recovery 2FA and is deprecated in favor of the Developer Portal setting. To ask for a second factor at every sign-in, use Login Two-Factor Authentication, which you turn on in the Developer Portal. It needs no modal config.

Recovery Secret

When enabled, users will be shown their recovery secret during wallet creation, allowing them to back up their wallet.

Combined Security Configuration

Step Override

Control which step the modal displays when opened:
Values must be uppercase. Steps that start with AUTH_ apply before sign-in; steps that start with ACCOUNT_ apply once the user is signed in.Sign-in steps:
  • AUTH_MAIN: the main sign-in options
  • AUTH_ALL_OPTIONS: every sign-in option
  • AUTH_ALL_EXTERNAL_WALLETS: every external wallet
Account steps:
  • ACCOUNT_MAIN: the main account view
  • ACCOUNT_PROFILE: profile and linked logins
  • ACCOUNT_WALLET: wallet details
  • ACCOUNT_SWITCH_WALLETS: switch wallets
  • ACCOUNT_SEND: send funds
  • ACCOUNT_ADD_FUNDS_BUY, ACCOUNT_ADD_FUNDS_RECEIVE, ACCOUNT_ADD_FUNDS_WITHDRAW: buy, receive, and withdraw
  • ACCOUNT_CHAIN_SWITCH: network selection
Setting an invalid step or a step that requires previous steps to be completed may cause unexpected behavior. Ensure the step override makes sense in your authentication flow.

Complete Security Example