jwt-jwks-authentication
v1.0.1
Published
> Npm module that handles authentication. An Authorization header with value Bearer USER_TOKEN_HERE is expected to be present in all requests. It retrieves RSA signing keys from a JWKS (JSON Web Key Set) endpoint if jwksUri provided, otherwise revifies an
Downloads
6
Readme
jwt-jwks-authentication
Npm module that handles authentication. An Authorization header with value Bearer USER_TOKEN_HERE is expected to be present in all requests. It retrieves RSA signing keys from a JWKS (JSON Web Key Set) endpoint if jwksUri provided, otherwise revifies and decodes token if secret provided.
Usage
First, install jwt-jwks-authentication
as a dependency:
npm install --jwt-jwks-authentication