# simov/grant

OAuth Proxy

Repository: https://github.com/simov/grant
Canonical: https://ross.abutalabs.com/products/grant
Language: JavaScript
License: MIT
License Family: permissive
Topics: nodejs, javascript, oauth, oauth2, authentication, authorization, express, koa, hapi, server, middleware, node, js, aws, aws-lambda, azure, gcp, vercel, serverless, lambda
Last push: 2025-02-04T17:27:33+00:00

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

## Adoption (not part of the score)
Stars 4169, forks 268 (observed 2026-08-28T04:08:37.972764+00:00)

## What it is
Grant is an OAuth proxy middleware for Node.js supporting 200+ OAuth providers across OAuth 1.0a, OAuth 2.0, and OpenID Connect. It integrates with Express, Koa, Hapi, Fastify, and serverless platforms like AWS Lambda, Azure, GCP, and Vercel.

## Use cases
- add google login to my express app
- oauth authentication for nodejs server
- sign in with github oauth middleware
- handle oauth callbacks in aws lambda
- support multiple oauth providers in one app
- openid connect login for koa
- social login for serverless functions

## When to choose
- you need OAuth login with many well-known providers in a Node.js app
- you want framework-agnostic OAuth middleware for Express, Koa, Hapi, or Fastify
- you're deploying to serverless platforms like AWS Lambda or Vercel and need OAuth

## When to avoid
- you need full identity management with user accounts, sessions, and MFA (use an identity platform)
- your app is not Node.js/JavaScript
- you need only local username/password authentication

## Facets
- artifact type: library
- maturity: stable
- function: auth, authorization, middleware, http-server
- domain: web-development, backend, security, apis
- platform: serverless, cloud
- tags: oauth, oauth2, openid-connect, express, koa, hapi, fastify, aws-lambda, vercel, authentication, nodejs, web-server

## Member repositories
- simov/grant (main) score 34

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:37.972764+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-29T18:22:45.537589+00:00, confidence not recorded.
  - readme: https://github.com/simov/grant (fetched 2026-08-28T04:08:37.972764+00:00, sha 70dd5c6222fb)
  - registry_npm: https://registry.npmjs.org/grant (fetched 2026-08-29T09:13:41.421219+00:00, sha 5eff9f18104f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
