Dashboard Setup
Configure Action-Based MFA in the dashboard before implementing in your application. See End-User MFA Configuration - Action-Based MFA for dashboard setup instructions.Events that trigger Action-Based MFA
- Waas Export - When exporting a private key on an MPC wallet.
- Waas Refresh - When a wallet is delegated, or when a user claims a pregenerated MPC wallet for the first time.
- WaaS Sign - When any signature is performed i.e. a message, a transaction, typed data, authorization, etc.
- WaaS Reshare - When a wallet is approved or revoked from delegated access and the user next signs in.
Using step-up authentication (recommended)
Use theuseStepUpAuthentication hook with requestedScopes to receive elevated access tokens instead of legacy MFA tokens. This is the recommended approach and will be required in the next major version.
- TOTP
- Passkey
Using MFA tokens (deprecated)
- TOTP
- Passkey
Dynamic UI Implementation
The Dynamic UI is method-agnostic. It automatically prompts with whichever MFA method(s) you have enabled (TOTP and/or Passkeys).With step-up authentication (recommended)
PassrequestedScopes to usePromptMfaAuth to receive an elevated access token through the Dynamic UI:
With MFA token (deprecated)
- usePromptMfaAuth hook to prompt the user to authenticate with MFA
- useIsMfaRequiredForAction hook to check if MFA is required for the action that the user is attempting to perform