jwks-client

Library to retrieve public keys from a JWKS endpoint

node-jose

A JavaScript implementation of the JSON Object Signing and Encryption (JOSE) for current web browsers and node.js-based servers