# ciaranj/node-oauth

OAuth wrapper for node.js

Repository: https://github.com/ciaranj/node-oauth
Canonical: https://ross.abutalabs.com/products/node-oauth
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2025-03-11T19:54:01+00:00

## Health v2 (maintenance only)
Score: 37/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 10, release rhythm 35, longevity 100
- inputs: {"age_days": 6063, "days_push": 540, "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 2434, forks 650 (observed 2026-08-28T04:06:51.287098+00:00)

## What it is
A simple OAuth client library for Node.js that lets applications act as OAuth consumers against OAuth 1.0 and OAuth 2.0 providers. It supports OAuth Echo for third-party media providers and has been tested against Twitter, Facebook, GitHub, Google, and Yahoo.

## Use cases
- authenticate against OAuth providers from a node.js app
- sign API requests with OAuth 1.0a HMAC-SHA1
- get OAuth2 bearer tokens via client credentials
- integrate with Twitter API using OAuth
- implement OAuth Echo for media providers like TwitPic
- call OAuth-protected APIs with user access tokens

## When to choose
- you need a lightweight, dependency-minimal OAuth client in Node.js
- you must act as an OAuth consumer (signing requests) rather than a provider
- you need OAuth 1.0a support, which many modern libraries dropped
- you need OAuth Echo for third-party media upload APIs

## When to avoid
- you need a full authentication server or login flows for your own users (use passport or an OIDC library)
- you want an actively developed library with modern async/await APIs
- you need OpenID Connect or advanced OAuth2 features like PKCE

## Facets
- artifact type: library
- maturity: maintenance
- function: auth, http-client
- domain: security, apis, web-development, backend
- platform: -
- tags: oauth1, oauth2, oauth-consumer, oauth-echo, hmac-signing, nodejs, javascript

## Member repositories
- ciaranj/node-oauth (main) score 37

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:51.287098+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:31:08.466182+00:00, confidence not recorded.
  - readme: https://github.com/ciaranj/node-oauth (fetched 2026-08-28T04:06:51.287098+00:00, sha 259ad2715acd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
