# jaredhanson/oauth2orize

OAuth 2.0 authorization server toolkit for Node.js.

Repository: https://github.com/jaredhanson/oauth2orize
Canonical: https://ross.abutalabs.com/products/oauth2orize
Homepage: https://www.oauth2orize.org?utm_source=github&utm_medium=referral&utm_campaign=oauth2orize
Language: JavaScript
License: MIT
License Family: permissive
Topics: oauth2orize, oauth2, express
Last push: 2024-04-12T12:46:09+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5168, "days_push": 873, "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 3533, forks 475 (observed 2026-08-28T04:08:08.969663+00:00)

## What it is
OAuth2orize is a Node.js toolkit for building OAuth 2.0 authorization servers. It provides Express-compatible middleware plus a pluggable suite of grants and exchanges that, combined with Passport, let developers assemble servers issuing access tokens and supporting single sign-on via OpenID Connect.

## Use cases
- build an OAuth 2.0 authorization server in Node.js
- issue access tokens to third-party client applications
- implement authorization code and implicit grant endpoints
- add single sign-on with OpenID Connect to my APIs
- protect my REST API with OAuth 2.0 bearer tokens
- exchange authorization grants for access tokens in Express

## When to choose
- you need to run your own OAuth 2.0 authorization server on Node.js/Express
- you already use Passport and want OAuth provider capabilities
- you need fine-grained control over grant and token exchange logic

## When to avoid
- you only need to sign in users with an external OAuth provider (use a Passport strategy instead)
- you want a turnkey identity provider with a UI out of the box
- your stack is not Node.js

## Facets
- artifact type: library
- maturity: maintenance
- function: auth, authorization, middleware, api-framework
- domain: security, web-development, backend, apis
- platform: -
- tags: oauth2, authorization-server, express, passport, openid-connect, single-sign-on, nodejs, web-server

## Member repositories
- jaredhanson/oauth2orize (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:08.969663+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:35:04.653023+00:00, confidence not recorded.
  - readme: https://github.com/jaredhanson/oauth2orize (fetched 2026-08-28T04:08:08.969663+00:00, sha 021013c1b7bc)
  - homepage: https://www.oauth2orize.org?utm_source=github&utm_medium=referral&utm_campaign=oauth2orize (fetched 2026-08-29T09:29:12.398593+00:00, sha 1a0199a33c0d)
  - registry_npm: https://registry.npmjs.org/oauth2orize (fetched 2026-08-29T09:29:12.409808+00:00, sha 70da082da98a)
  - site_page: https://www.oauth2orize.org/concepts/oauth2 (fetched 2026-08-29T09:29:12.408013+00:00, sha 1956e04a0031)
- Data as of 2026-08-30T08:39:29.467469+00:00.
