{"repo":"nearform/fastify-jwt-jwks","free":true,"listed":false,"github":"https://github.com/nearform/fastify-jwt-jwks","clone":"git clone https://github.com/nearform/fastify-jwt-jwks.git","description":"JSON Web Key Set (JWKS) verification plugin for Fastify","language":"JavaScript","stars":16,"topics":["jwt","jwks","authentication","fastify"],"license":null,"category":"auth-billing-email","readme_excerpt":"fastify-jwt-jwks JSON Web Key Set (JWKS) verification plugin for Fastify, internally uses @fastify/jwt. Note JSON Web Key Sets (JWKS) are used to verify that a signed JWT originated from a particular authorization server, and that the token hasn't been tampered with. If you are looking to implement JWT authentication in your Fastify application you may be looking for @fastify/jwt. Installation Just run: Usage Register as a plugin, providing one or more of the following options: - jwksUrl : JSON Web Key Set url (JWKS). The public endpoint returning the set of keys that contain amongst other things the keys needed to verify JSON Web Tokens (JWT). Eg. https://domain.com/.well-known/jwks.json - audience : The intended consumer of the token. This is typically a set of endpoints at which the token can be used. If you provide the value true , the domain will be also used as audience. Accepts a string value, or an array of strings for multiple audiences. - issuer : The domain of the system which is issuing OAuth access tokens. By default the domain will be also used as audience. Accepts a string value, or an array of strings for multiple issuers. - secret : The OAuth client secret. It enables verification of HS256 encoded JWT tokens. - complete : If to return also the header and signature of the verified token. - secretsTtl : How long (in milliseconds) to cache RS256 secrets before getting them again using well known JWKS URLS. Setting to 0 or less disables the cache. Defaults to 1 w","default_branch":null,"files":null,"tree":[],"storefront":"/r/nearform","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nearform/fastify-jwt-jwks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}