# Passport JWT — card for AI agents

Passport strategy for authenticating API requests using JSON Web Tokens.

Category: Auth and security libraries · npm package `passport-jwt` · latest version 4.0.1 (checked 2026-11-01)
Install: `npm install passport-jwt`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 53.0 (#1644 of all tools, 60 of 141 in its category)
- Used in 13 public projects set up for AI coding agents (0.2%)
- Downloads last week: 5,689,559 (as of 2026-11-24), +33.3% over 4 weeks
- GitHub stars: 1,978 (as of 2026-11-24)
- Last push: 2024-02-03

## Often used with
Passport.js 89.7%, Prettier 79.5%, NestJS 74.4%, ts-node 71.8%, Jest 69.2%, class-transformer 66.7%

## Checked alternatives (same job)
- jsonwebtoken: https://agentgid.com/tools/jsonwebtoken/agent.md
- jose: https://agentgid.com/tools/jose/agent.md
- Passport.js: https://agentgid.com/tools/passport/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/passport-jwt/
- Homepage: https://github.com/mikenicholson/passport-jwt
- Repository: https://github.com/mikenicholson/passport-jwt

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
