# googleapis/google-auth-library-nodejs

🔑 Google Auth Library for Node.js

Repository: https://github.com/googleapis/google-auth-library-nodejs
Canonical: https://ross.abutalabs.com/products/google-auth-library-nodejs
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: google, oauth, jwt, authentication, google-cloud, oauth2-client
Archived: true
Last push: 2025-11-20T21:08:50+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 53, release rhythm 54, longevity 100
- inputs: {"age_days": 4221, "days_push": 286, "days_rel": 307, "gap_med": 21, "n_releases_24m": 14}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1883, forks 407 (observed 2026-08-28T04:05:48.746771+00:00)

## What it is
Google's officially supported Node.js client library for OAuth 2.0 authentication and authorization with Google APIs. It supports Application Default Credentials, JWT, service accounts, and workload identity federation.

## Use cases
- authenticate to google cloud apis from nodejs
- implement oauth2 sign-in with google
- server-to-server auth with service accounts
- use application default credentials on gcp
- workload identity federation from aws or azure
- sign jwt tokens for google api access

## When to choose
- building Node.js apps that call Google Cloud or Google APIs
- you need end-user OAuth2 flows or server-to-server JWT auth with Google
- running on Google Cloud and want credential auto-detection

## When to avoid
- authenticating with non-Google identity providers
- browser-only client-side apps needing a lighter OAuth flow library

## Facets
- artifact type: library
- maturity: stable
- function: auth, http-client, sdk
- domain: security, apis, cloud-computing, developer-tools
- platform: cross-platform
- tags: google-cloud, oauth2, jwt, service-account, application-default-credentials, workload-identity-federation, nodejs

## Member repositories
- googleapis/google-auth-library-nodejs (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:48.746771+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:13:41.507435+00:00, confidence not recorded.
  - readme: https://github.com/googleapis/google-auth-library-nodejs (fetched 2026-08-28T04:05:48.746771+00:00, sha 4606d8000749)
- Data as of 2026-08-30T08:39:29.467469+00:00.
