TOTP management

This guide covers the withTotpManagement mixin from @adonisplus/persona/totp. You will learn how to:

  • Apply the mixin and understand the two-column secret pattern
  • Enroll users in two-factor authentication with QR codes
  • Verify TOTP codes during login
  • Generate and verify recovery codes
  • Customize TOTP parameters
Unlock access
Only Plus subscribers can access the documentation
Log in now