package
Library to retrieve RSA public keys from a JWKS endpoint
npm install jwks-rsaGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.

📚 Documentation - 🚀 Getting Started - 💬 Feedback
Using npm in your project directory run the following command:
npm install --save jwks-rsaSupports all currently registered JWK types and JWS Algorithms, see panva/jose#262 for more information.
Provide a JWKS endpoint which exposes your signing keys.
const jwksClient = require('jwks-rsa');
const client = jwksClient({
jwksUri: 'https://sandrino.auth0.com/.well-known/jwks.json',
requestHeaders: {}, // Optional
timeout: 30000 // Defaults to 30s
});Then use getSigningKey to retrieve a signing key that matches a specific kid.
const kid = 'RkI5MjI5OUY5ODc1N0Q4QzM0OUYzNkVGMTJDOUEzQkFCOTU3NjE2Rg';
const key = await client.getSigningKey(kid);
const 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.
auth0npm
devops+npm@auth0.com
oktajeffoktajeff
jeff.shuman@okta.com
bsmith-auth0
brian.s.smith@okta.com
sanjay.manikandhan
sanjay.manikandhan@okta.com
nirjo
nirmal.joishi@okta.com
niltorresatko
nil.torres@okta.com
jaskirat_atko
jaskirat.singh@okta.com
henry.mcardle
henry.mcardle@okta.com
nicolas.villalobos
nicolas.villalobos@okta.com
choah
choah.jung@auth0.com
josecarlos-chavez_atko
josecarlos.chavez@okta.com
skatko
saurabh.kumar@okta.com
tj.okta
tirone.pama@auth0.com
sgarcia-atko
sergio.garciaramos@okta.com
roger.chan
roger.chan@auth0.com
maaantone
michael.antone@auth0.com
lewisbyrne-okta
lewis.byrne@okta.com
tarunpreet.kaur
tarunpreet.kaur@okta.com
Estimated unpacked size across 12 packages.
6.3 MB
Includes dependencies.
6 direct · 1 outdated
^6.1.3
6.2.17
^4.3.4
4.4.3
^1.1.5
4.1.0
^11.0.0
11.5.3
^3.0.0
3.0.0
^9.0.4
9.0.10