# nuxt-community/auth-module

Zero-boilerplate authentication support for Nuxt 2

Repository: https://github.com/nuxt-community/auth-module
Canonical: https://ross.abutalabs.com/products/auth-module
Homepage: https://auth.nuxtjs.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: nuxt, auth, module, jwt, token, cookie, ssr, axios, nuxt-module
Last push: 2026-08-26T10:50:52+00:00

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

## Adoption (not part of the score)
Stars 1924, forks 892 (observed 2026-08-28T04:05:55.433519+00:00)

## What it is
A Nuxt 2 module providing zero-boilerplate authentication with configurable schemes (local, JWT, OAuth2, OpenIDConnect) and built-in providers like Auth0, GitHub, and Google. It handles client-side token storage and user info but does not implement server-side session handling.

## Use cases
- add login to a Nuxt 2 app
- authenticate users with JWT tokens in Vue SSR app
- integrate OAuth2 social login like Google or GitHub
- handle token refresh in a Nuxt application
- protect routes with auth middleware in Nuxt
- store authenticated user info in cookies

## When to choose
- you are building or maintaining a Nuxt 2 application and need drop-in auth
- you want prebuilt schemes and providers instead of wiring auth manually
- you need client-side token storage with refresh support

## When to avoid
- you are starting a Nuxt 3 project - use Nuxt Auth Utils, Sidebase Nuxt Auth, or AuthJs Nuxt instead
- you need server-side session-based authentication
- you need a fully maintained module with active feature development

## Facets
- artifact type: plugin
- maturity: maintenance
- function: auth, middleware, http-client
- domain: web-development, frontend, security
- platform: -
- tags: nuxt, nuxt2, vue, jwt, oauth2, token-refresh, cookie-based-auth, sso-providers, nodejs, web-server

## Member repositories
- nuxt-community/auth-module (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:55.433519+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:35.107546+00:00, confidence not recorded.
  - readme: https://github.com/nuxt-community/auth-module (fetched 2026-08-28T04:05:55.433519+00:00, sha c73b61b79153)
  - homepage: https://auth.nuxtjs.org (fetched 2026-08-29T10:49:12.734636+00:00, sha 3595daa82750)
  - site_page: https://auth.nuxtjs.org/releases (fetched 2026-08-29T10:49:12.743619+00:00, sha 8ddcd72d5231)
- Data as of 2026-08-30T08:39:29.467469+00:00.
