two-factor-authentication-best-practices
Implements secure 2FA with TOTP, OTP, and backup codes for better-auth with automatic session management.
Install
npx skills add https://github.com/better-auth/skills --skill two-factor-authentication-best-practicesStats
| Total installs | 5,828 |
| Weekly installs | 5.8K |
| GitHub stars | 163 |
| First seen | Feb 10, 2026 |
| Source | @better-auth/skills |
Summary
- Supports three verification methods: authenticator apps (TOTP with QR codes), email/SMS codes (OTP), and single-use backup codes
- Handles complete 2FA sign-in flows with automatic session management, temporary 2FA cookies, and trusted device tracking with configurable expiration
- Built-in security features including rate limiting (3 requests per 10 seconds), encryption at rest for secrets and backup codes, and constant-time code comparison
- Configurable code parameters: TOTP digits (6 or 8), OTP validity period, backup code count and length, and custom encryption for OTP storage
Tags
Related skills
| Skill | Installs | vs two-factor-authentication-best-practices |
|---|---|---|
| java-spring-boot | 5,426 | -402 |
| gws-modelarmor-create-template | 5,825 | -3 |
| code-review-expert | 4,728 | -1,100 |
| power-platform-mcp-connector-suite | 7,393 | +1,565 |
| cloudflare | 6,168 | +340 |
FAQ
- How many installs does two-factor-authentication-best-practices have?
- two-factor-authentication-best-practices has 5,828 total installs and 5.8K installs this week.
- Where is two-factor-authentication-best-practices hosted?
- two-factor-authentication-best-practices is published by @better-auth/skills at https://github.com/better-auth/skills.
- How many GitHub stars does two-factor-authentication-best-practices have?
- two-factor-authentication-best-practices has 163 GitHub stars.
- When was two-factor-authentication-best-practices first indexed?
- OrangeBot.AI first indexed two-factor-authentication-best-practices on Feb 10, 2026.
- How do I install two-factor-authentication-best-practices?
- Run: npx skills add https://github.com/better-auth/skills --skill two-factor-authentication-best-practices