# jeremyevans/rodauth

Ruby's Most Advanced Authentication Framework

Repository: https://github.com/jeremyevans/rodauth
Canonical: https://ross.abutalabs.com/products/rodauth
Homepage: http://rodauth.jeremyevans.net
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-24T06:32:17+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4039, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1919, forks 111 (observed 2026-08-28T04:05:54.904622+00:00)

## What it is
Rodauth is Ruby's most advanced authentication framework, providing a comprehensive set of composable authentication features built on the Roda web toolkit. It supports login, account creation, password management, multifactor authentication (OTP, WebAuthn, recovery codes), JSON/JWT APIs, and works standalone or as middleware in Rack apps.

## Use cases
- add user login and registration to a Ruby web app
- implement two-factor authentication with OTP and WebAuthn
- build a JSON API with JWT-based authentication
- manage password resets, changes, and account closure flows
- add audit logging for authentication actions
- integrate authentication into Rails or Sinatra via Rack middleware
- enforce session security with active session tracking and single logout

## When to choose
- you need a full-featured, security-hardened authentication system in Ruby
- you want granular control by enabling only the features you need
- you need multifactor authentication, WebAuthn, or JWT support out of the box
- you use Roda, Rails, Sinatra, or any Rack-based application

## When to avoid
- you need authentication in a non-Ruby stack
- you want a zero-configuration hosted auth service instead of a self-managed framework
- your app is trivial and a simple session-based login suffices

## Facets
- artifact type: library
- maturity: stable
- function: auth, authorization, middleware, web-framework
- domain: web-development, backend, security, developer-tools
- platform: ruby
- tags: authentication, roda, rails, sinatra, mfa, webauthn, jwt, password-management, account-management, web-server

## Member repositories
- jeremyevans/rodauth (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:54.904622+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:09:58.386983+00:00, confidence not recorded.
  - homepage: http://rodauth.jeremyevans.net (fetched 2026-08-29T10:49:16.057923+00:00, sha 2af88cb2e878)
  - site_page: http://rodauth.jeremyevans.net/documentation.html (fetched 2026-08-29T10:49:16.066807+00:00, sha 092b90a67133)
- Data as of 2026-08-30T08:39:29.467469+00:00.
