Gathering detailed insights and metrics for jwks-rsa
Gathering detailed insights and metrics for jwks-rsa
Gathering detailed insights and metrics for jwks-rsa
Gathering detailed insights and metrics for jwks-rsa
@foal/jwks-rsa
Integration of the library jwks-rsa with FoalTS
jwks-rsa-promisified
Promisified version of auth0/node-jwks-rsa, retrieve RSA public keys from a JWKS endpoint
express-jwt-jwks
Simple JWT auth using JWKS key sets for Express. Wraps express-jwt and jwks-rsa. AWS Cognito compatible.
@opentelemetry/instrumentation-lru-memoizer
OpenTelemetry instrumentation for `lru-memoizer` function memoization using lru-cache
A library to retrieve RSA public keys from a JWKS (JSON Web Key Set) endpoint.
npm install jwks-rsa
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
837 Stars
410 Commits
237 Forks
21 Watching
14 Branches
109 Contributors
Updated on 27 Nov 2024
JavaScript (97.86%)
TypeScript (2.14%)
Cumulative downloads
Total Downloads
Last day
-3.5%
659,973
Compared to previous day
Last week
3.3%
3,538,490
Compared to previous week
Last month
11.3%
14,508,020
Compared to previous month
Last year
20.1%
156,549,379
Compared to previous year
📚 Documentation - 🚀 Getting Started - 💬 Feedback
Using npm in your project directory run the following command:
1npm install --save jwks-rsa
Supports all currently registered JWK types and JWS Algorithms, see panva/jose#262 for more information.
Provide a JWKS endpoint which exposes your signing keys.
1const jwksClient = require('jwks-rsa');
2
3const client = jwksClient({
4 jwksUri: 'https://sandrino.auth0.com/.well-known/jwks.json',
5 requestHeaders: {}, // Optional
6 timeout: 30000 // Defaults to 30s
7});
Then use getSigningKey
to retrieve a signing key that matches a specific kid
.
1const kid = 'RkI5MjI5OUY5ODc1N0Q4QzM0OUYzNkVGMTJDOUEzQkFCOTU3NjE2Rg'; 2const key = await client.getSigningKey(kid); 3const signingKey = key.getPublicKey();
We appreciate feedback and contribution to this repo! Before you get started, please see the following:
To provide feedback or report a bug, please raise an issue on our issue tracker.
Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.
Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout Why Auth0?
This project is licensed under the MIT license. See the LICENSE file for more info.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
SAST tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More