jwks-rsa
Retrieves RSA signing keys from a JWKS endpoint with caching, for use with express-jwt and passport-jwt verification.
Official Documentation ↗v3.1. Check the official docs for the latest API surface.Installation
npm install jwks-rsaMethods
No methods match this filter.
jwks-rsa is retrieves rsa signing keys from a jwks endpoint with caching, for use with express-jwt and passport-jwt verification. This page documents the core methods, installation, and common usage patterns for the current stable release.
Installation
Install jwks-rsa with your preferred package manager using the command shown in the frontmatter. The package is published to the npm registry and ships with TypeScript types where applicable.
Core methods
The methods listed in the frontmatter cover the primary API surface. Each signature reflects the v3.1 release. Consult the official documentation linked in sourceUrl for advanced options, edge cases, and breaking changes between major versions.
Frequently asked questions
The faq section in the frontmatter answers the most common questions about jwks-rsa, including comparisons with alternatives, configuration tips, and runtime requirements. If your question is not covered, check the source URL for the full guide.
Security notes
Quoted verbatim from the official documentation; this is not a complete threat model. 来源:https://cdn.jsdelivr.net/gh/auth0/node-jwks-rsa@latest/README.md · 取证方式:HTTP GET 官方 README/文档页(HTML 去标签) · 抓取时间:2026-11-07T13:50:35.478Z.
- Vulnerability Reporting Please do not report security vulnerabilities on the public GitHub issue tracker. (https://cdn.jsdelivr.net/gh/auth0/node-jwks-rsa@latest/README.md)
- The Responsible Disclosure Program details the procedure for disclosing security issues. (https://cdn.jsdelivr.net/gh/auth0/node-jwks-rsa@latest/README.md)
FAQ
- How does caching work?
- Keys are cached in memory with a configurable TTL; set cache: true and cacheMaxEntries.
- Does it handle key rotation?
- Yes. If a kid is not in cache, it fetches from the JWKS URI; old keys are evicted by cacheMaxAge.
- Is it rate-limited?
- Set rateLimit: true with jwksRequestsPerMinute to avoid hammering the JWKS endpoint.
Report a problem with this API docOpens a pre-filled issue on GitHub.