{"id":13475020,"url":"https://github.com/auth0/node-jwks-rsa","last_synced_at":"2026-01-23T14:47:18.906Z","repository":{"id":9868392,"uuid":"63600463","full_name":"auth0/node-jwks-rsa","owner":"auth0","description":"A library to retrieve RSA public keys from a JWKS (JSON Web Key Set) endpoint.","archived":false,"fork":false,"pushed_at":"2025-03-28T18:03:06.000Z","size":1071,"stargazers_count":852,"open_issues_count":22,"forks_count":239,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-23T06:59:57.962Z","etag":null,"topics":["dx-sdk"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auth0.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-07-18T12:16:00.000Z","updated_at":"2025-04-19T18:23:06.000Z","dependencies_parsed_at":"2023-12-14T13:45:35.970Z","dependency_job_id":"7030c2a8-b2d2-4990-8fda-a53a35e02f14","html_url":"https://github.com/auth0/node-jwks-rsa","commit_stats":{"total_commits":274,"total_committers":83,"mean_commits":"3.3012048192771086","dds":0.8868613138686131,"last_synced_commit":"b83da976c6616a584d013bea690f91b5eb9de4f2"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fnode-jwks-rsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fnode-jwks-rsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fnode-jwks-rsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fnode-jwks-rsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0","download_url":"https://codeload.github.com/auth0/node-jwks-rsa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745804,"owners_count":21957447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dx-sdk"],"created_at":"2024-07-31T16:01:16.744Z","updated_at":"2026-01-23T14:47:18.895Z","avatar_url":"https://github.com/auth0.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Developer Ecosystem"],"sub_categories":[],"readme":"![A library to retrieve signing keys from a JWKS (JSON Web Key Set) endpoint.](https://cdn.auth0.com/website/sdks/banner/node-jwks-rsa-banner.png)\n\n![Release](https://img.shields.io/npm/v/jwks-rsa)\n[![Codecov](https://img.shields.io/codecov/c/github/auth0/node-jwks-rsa)](https://codecov.io/gh/auth0/node-jwks-rsa)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/auth0/node-jwks-rsa)\n![Downloads](https://img.shields.io/npm/dw/jwks-rsa)\n[![License](https://img.shields.io/:license-mit-blue.svg?style=flat)](https://opensource.org/licenses/MIT)\n![CircleCI](https://img.shields.io/circleci/build/github/auth0/node-jwks-rsa)\n\n📚 [Documentation](#documentation) - 🚀 [Getting Started](#getting-started) - 💬 [Feedback](#feedback)\n\n## Documentation\n\n- [Examples](https://github.com/auth0/node-jwks-rsa/blob/master/EXAMPLES.md) - documentation of the options and code samples for common scenarios.\n- [Docs Site](https://auth0.com/docs) - explore our Docs site and learn more about Auth0.\n\n## Getting Started\n\n### Installation\n\nUsing [npm](https://npmjs.org) in your project directory run the following command:\n\n````bash\nnpm install --save jwks-rsa\n````\n\nSupports all currently registered JWK types and JWS Algorithms, see [panva/jose#262](https://github.com/panva/jose/issues/262) for more information.\n\n### Configure the client\n\nProvide a JWKS endpoint which exposes your signing keys.\n\n````js\nconst jwksClient = require('jwks-rsa');\n\nconst client = jwksClient({\n  jwksUri: 'https://sandrino.auth0.com/.well-known/jwks.json',\n  requestHeaders: {}, // Optional\n  timeout: 30000 // Defaults to 30s\n});\n````\n\n### Retrieve a key\n\nThen use `getSigningKey` to retrieve a signing key that matches a specific `kid`.\n\n````js\nconst kid = 'RkI5MjI5OUY5ODc1N0Q4QzM0OUYzNkVGMTJDOUEzQkFCOTU3NjE2Rg';\nconst key = await client.getSigningKey(kid);\nconst signingKey = key.getPublicKey();\n````\n\n## Feedback\n\n### Contributing\n\nWe appreciate feedback and contribution to this repo! Before you get started, please see the following:\n\n- [Auth0's general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)\n- [Auth0's code of conduct guidelines](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)\n\n### Raise an issue\n\nTo provide feedback or report a bug, please [raise an issue on our issue tracker](https://github.com/auth0/node-jwks-rsa/issues).\n\n### Vulnerability Reporting\n\nPlease do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.\n\n## What is Auth0?\n\n\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.auth0.com/website/sdks/logos/auth0_dark_mode.png\" width=\"150\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png\" width=\"150\"\u003e\n    \u003cimg alt=\"Auth0 Logo\" src=\"https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png\" width=\"150\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout \u003ca href=\"https://auth0.com/why-auth0\"\u003eWhy Auth0?\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  This project is licensed under the MIT license. See the \u003ca href=\"https://github.com/auth0/node-jwks-rsa/blob/master/LICENSE\"\u003e LICENSE\u003c/a\u003e file for more info.\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fnode-jwks-rsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0%2Fnode-jwks-rsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fnode-jwks-rsa/lists"}