devise-two-factor/devise-two-factor
Barebones two-factor authentication with Devise observed · 2026-10-12
Health v2 · maintenance only
74/100
- Activity 98
- Release rhythm 29
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4544
- days_rel: 260
- days_push: 12
- n_releases_24m: 1
Adoption not part of the score
1312 stars · 260 forks observed · 2026-10-12
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A minimalist Ruby gem extending Devise with two-factor authentication via TOTP. It integrates with authenticator apps like Google Authenticator and Authy and supports encrypted secrets and backup codes.
Use cases
- add two-factor authentication to a Rails app
- enable TOTP login for Devise users
- support Google Authenticator or Authy in my app
- add backup codes for 2FA
- secure user accounts with time-based one-time passwords
When to choose
- you already use Devise in a Rails application
- you want a simple, security-focused TOTP implementation
- you need encrypted 2FA secrets via ActiveRecord encryption
When to avoid
- your app does not use Devise
- you need SMS or email-based 2FA rather than TOTP
- you are not on Rails
Facets
library · maturity active
auth security security web-development backend ruby totp two-factor-authentication devise rails backup-codes otp web-server
1 source
- readme: https://github.com/devise-two-factor/devise-two-factor · fetched 2026-10-12 · bd11cf921ba8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| devise-two-factor/devise-two-factor | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="devise-two-factor/devise-two-factor")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem