# sergiodxa/remix-auth

Simple Authentication for Remix

Repository: https://github.com/sergiodxa/remix-auth
Canonical: https://ross.abutalabs.com/products/remix-auth
Homepage: https://sergiodxa.github.io/remix-auth/
Language: TypeScript
License: MIT
License Family: permissive
Topics: remix, authentication, auth0, oauth2, strategies, auth
Last push: 2026-08-24T23:35:03+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 28, longevity 100
- inputs: {"age_days": 1868, "days_push": 9, "days_rel": 507, "gap_med": 69.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2204, forks 108 (observed 2026-08-28T04:06:25.915788+00:00)

## What it is
Remix Auth is a complete open-source authentication library for Remix and React Router applications, inspired by Passport.js and built on the Web Fetch API. It uses a strategy pattern where each authentication flow (form login, OAuth2, GitHub, etc.) is provided as a separate npm package plugged into a shared Authenticator class.

## Use cases
- add login with username and password to a Remix app
- authenticate users with OAuth2 providers like GitHub
- implement server-side session-based authentication in React Router
- build custom authentication strategies for a Remix app
- replace Passport.js in a modern Fetch API-based stack

## When to choose
- you are building a Remix or React Router app and need server-side authentication
- you want a Passport.js-like strategy ecosystem with full TypeScript support
- you need pluggable auth flows (form, OAuth2, social logins) with minimal setup

## When to avoid
- you need client-side-only authentication in a non-Remix SPA
- your framework is Next.js or another non-Remix/React Router stack
- you need a batteries-included auth service with built-in user management rather than a library

## Facets
- artifact type: library
- maturity: stable
- function: auth, middleware, web-framework
- domain: web-development, backend, security
- platform: -
- tags: remix, react-router, oauth2, passport-inspired, strategy-pattern, session-storage, nodejs, typescript, web-server

## Member repositories
- sergiodxa/remix-auth (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:25.915788+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-30T02:46:44.597056+00:00, confidence not recorded.
  - readme: https://github.com/sergiodxa/remix-auth (fetched 2026-08-28T04:06:25.915788+00:00, sha 59d2dd2e2592)
  - homepage: https://sergiodxa.github.io/remix-auth/ (fetched 2026-08-29T10:27:19.832408+00:00, sha 83a5777f6139)
  - registry_npm: https://registry.npmjs.org/remix-auth (fetched 2026-08-29T10:27:19.835642+00:00, sha e9071038203b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
