eldimious / jwt-jwks-authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Build Status Coverage Status

Usage

First, install jwt-jwks-authentication as a dependency:

npm install --jwt-jwks-authentication

About


Languages

Language:JavaScript 100.0%