Skip to main content
The useSetup2fa hook initiates the 2FA setup flow, returning a QR code URI and secret that the user can add to their authenticator app. Follow with useEnable2fa to complete enrollment.

Import

Usage