Open source alternatives to better-auth/twoFactor
200 open source apps like better-auth/twoFactor, closest match first.
Top picks
- 2

2FAuth
LaunchManage your Two-Factor Authentication (2FA) accounts and generate their security codes. (Demo) AGPL-3.0 PHP/Docker
FreeOpen sourceSelf-hosted
- 2
- T
TwoFactor
LaunchTwoFactor is a PHP package for Laravel that adds two-factor authentication to the login flow of a Laravel app. It uses time-based one-time codes of 6 digits, which are generated and checked inside your own application, so there is no extern
FreeOpen source
- A

Authme
Launch- 🔒 Secure by design: Your codes is secured by AES 256bit encryption with your own password. - 🔑 Import codes: Import form any 2FA TOTP QR code or import directly from Google Authenticator. - ⌨️ Many shortcuts: Easily open Authme with custo
FreeOpen source
- Z
Zero-TOTP
LaunchZero-TOTP is an open source web app for storing your TOTP codes. TOTP codes are the temporary codes, valid for 30 seconds, that you enter as a second factor when you sign in to accounts such as email, social networks and developer platforms
FreeOpen sourceSelf-hosted
- O

OVault
LaunchSimple, local, open source OTP/2FA management app available on iOS/iPadOS/macOS
Open source
More like better-auth/twoFactor
Remix Auth Totp
A Time-Based One-Time Password (TOTP) Authentication Strategy for Remix-Auth
About better-auth/twoFactor
better-auth/twoFactor
Two-factor authentication with Better Auth
This is an agent skill for adding two-factor authentication to a Better Auth app. It supports TOTP authenticator apps, email or SMS one-time codes, and backup codes. The skill covers the full two-factor lifecycle: enabling it for a user, verifying the code during sign-in, trusting a device so the prompt is skipped for 30 days, and disabling it on an account. It also covers generating and showing backup codes when a user sets up two-factor. The page says backup codes, TOTP secrets and one-time tokens can each be stored encrypted at rest. It explains that building this from scratch means writing your own TOTP logic, code delivery, backup code generation, trusted device cookies and rate limiting, while the Better Auth plugin provides all of it as one configuration block. The skill is part of the official Better Auth skills collection on GitHub and is listed on officialskills.sh. Install it with npx skills add https://github.com/better-auth/skills --skill twofactor.
- Category
- AI Skills
- Website
- github.com/better-auth/skills/twofactor





