Skip to main content
Back to registry

two-factor-authentication-best-practices

better-auth/skills

Requires password verification. Returns TOTP URI (for QR code) and backup codes.

Installs3
Install command
npx skills add https://github.com/better-auth/skills --skill two-factor-authentication-best-practices
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Requires password verification. Returns TOTP URI (for QR code) and backup codes. twoFactorEnabled is not set to true until first TOTP verification succeeds. Override with skipVerificationOnEnable: true (not recommended). Accepts codes from one period before/after current time: Send: authClient.twoFactor.sendOtp() . Verify: authClient.twoFactor.verifyOtp({ code, trustDevice: true }) . Configure how OTP codes are stored in the database: For custom encryption: Generated automatically when 2FA is enabled. Each code is single-use. Invalidates all previous codes: Response includes twoFactorRedirect: true when 2FA is required: Server-side: check "twoFactorRedirect" in response when using auth.api.signInEmail .

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does two-factor-authentication-best-practices do?

Requires password verification. Returns TOTP URI (for QR code) and backup codes.

Is two-factor-authentication-best-practices good?

two-factor-authentication-best-practices does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does two-factor-authentication-best-practices work with?

two-factor-authentication-best-practices currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to two-factor-authentication-best-practices?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install two-factor-authentication-best-practices?

npx skills add https://github.com/better-auth/skills --skill two-factor-authentication-best-practices

Related skills

More from better-auth/skills

Related skills

Alternatives in Software Engineering