Use this file to discover all available pages before exploring further.
Enrolling in MFA does not automatically verify the user for wallet operations. Once enrolled,
subsequent wallet actions will require MFA verification. See the verification
guides for how to complete MFA
verification.
Enroll users in MFA so they can secure their embedded wallet with an additional authentication factor.
The React SDK uses Privy’s default MFA UIs by default. To use custom UIs instead, set the mfa.noPromptOnMfaRequired field to true in the Privy provider:
function MyApp({Component, pageProps}: AppProps) { return ( <> <PrivyProvider appId={process.env.NEXT_PUBLIC_PRIVY_APP_ID} config={{ mfa: { // Defaults to 'false'. Set to 'true' to use custom UIs. noPromptOnMfaRequired: true, }, ...insertTheRestOfYourConfig, }} > <Component {...pageProps} /> </PrivyProvider> </> );}
This configures Privy to not show its default UIs for wallet MFA, allowing your app to use custom enrollment and verification flows instead.
The rest of Privy SDKs use custom UIs by default. No additional configuration is required to use custom MFA flows.