{"adoption": {"forks": 210, "observed_at": "2026-08-28T04:06:01.661886+00:00", "stars": 1980}, "canonical_url": "https://ross.abutalabs.com/products/passport-jwt", "card": {"archived": false, "artifact_type": "library", "description": "Passport authentication using JSON Web Tokens", "domain": ["security", "web-development", "backend", "apis"], "enriched": true, "function": ["auth", "middleware"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["mikenicholson/passport-jwt"], "name": "mikenicholson/passport-jwt", "platform": [], "pushed_at": "2024-02-03T20:10:41+00:00", "repo": "mikenicholson/passport-jwt", "stars": 1980, "tags": ["jwt", "passport", "passport-strategy", "json-web-tokens", "token-authentication", "stateless-auth", "rest-api", "express", "npm-package", "nodejs", "web-server"], "topics": [], "urls": [], "use_cases": ["authenticate a node.js express API with JWT bearer tokens", "add JSON Web Token authentication to a Passport-based app", "secure RESTful endpoints without server-side sessions", "verify JWT signature from the Authorization header in Node.js", "token-based stateless authentication for a REST API", "passport strategy that validates JWT issuer, audience, and expiration", "extract and verify a JWT from a request using a custom extractor"], "what_it_is": "passport-jwt is a Passport authentication strategy for Node.js that authenticates HTTP requests using JSON Web Tokens. It extracts a JWT from incoming requests, verifies its signature and optional claims (issuer, audience, expiration, algorithms), and enables session-less token-based authentication for RESTful API endpoints.", "when_to_avoid": ["You are not using Passport and just need standalone JWT verification (use jsonwebtoken or a simple middleware directly)", "You need browser login flows with sessions, OAuth, or OpenID Connect (other Passport strategies or an identity provider SDK fit better)", "You require built-in JWKS key-rotation support from an identity provider without writing a custom secretOrKeyProvider"], "when_to_choose": ["Your Node.js app already uses Passport and you want to add JWT-based, session-less authentication", "You need to secure RESTful API endpoints with signed tokens using either symmetric secrets or PEM-encoded public keys", "You need flexible token extraction from headers, query strings, cookies, or body, or per-request secret resolution via secretOrKeyProvider"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/passport-jwt", "repo": "mikenicholson/passport-jwt", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.661886+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:04:39.625876+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "af9bf6b3ab2aa81720d4b9b697e37abfd5d8c8844265444adfc5d100035f42d9", "fetched_at": "2026-08-28T04:06:01.661886+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mikenicholson/passport-jwt"}, {"content_hash": "c1faffbd80c31461a9a9cece2c3a78db8183f32e1b94145e9480a4cb0009bb7b", "fetched_at": "2026-08-29T10:43:51.973095+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/passport-jwt"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4316, "days_push": 942, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}