two-factor-authentication-best-practices

Configure MFA flows with TOTP, email/SMS OTP, and backup codes.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/gigun-dev/hono-caldav --skill two-factor-authentication-best-practices-gigun-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: two-factor-authentication-best-practices
Source: https://github.com/gigun-dev/hono-caldav/tree/main/.claude/skills/better-auth/twoFactor
Command: npx skills add https://github.com/gigun-dev/hono-caldav --skill two-factor-authentication-best-practices-gigun-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you implement robust multi-factor authentication (MFA) to significantly enhance user account security beyond simple passwords.

Core Features & Use Cases

  • MFA Setup: Guide users through setting up TOTP authenticator apps or email/SMS OTP.
  • Login Flows: Integrate 2FA verification into your sign-in process.
  • Recovery: Manage backup codes for account recovery.
  • Use Case: When a user attempts to log in, after entering their password, they are prompted to enter a code from their authenticator app to complete the login.

Quick Start

Use the twoFactor skill to enable two-factor authentication for a user by verifying their password and then guiding them through setting up an authenticator app.

Frequently Asked Questions about two-factor-authentication-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up multi-factor authentication using TOTP authenticator apps?

To set up multi-factor authentication, verify the user's password and then guide them through configuring a TOTP authenticator app to generate time-based one-time passwords for secure logins.

What is the best way to handle MFA recovery with backup codes?

The best way to handle MFA recovery is by generating and managing backup codes during the initial setup, allowing users to regain access if they lose their authenticator app or device.

Can I use email and SMS OTP delivery for two-factor authentication?

Yes, you can use email and SMS OTP delivery for two-factor authentication. The system supports configuring multiple delivery channels, including TOTP authenticator apps, email, and SMS.

How do I disable MFA for credential-based accounts?

To disable MFA for credential-based accounts, access the multi-factor authentication management settings and turn off the feature, reverting the user account to standard password-only login.

How does trusted device handling work with two-factor authentication?

Trusted device handling in two-factor authentication allows users to bypass repeated OTP prompts on verified devices, streamlining the login process while maintaining security on unrecognized devices.