npm jwks-rsa 1.6.2
v1.6.2

latest releases: 3.1.0, 3.0.1, 3.0.0...
4 years ago

[1.6.2] - (2020-01-21)

This patch release includes an alias for accessing the public key of a given JSON Web Key (JWK). This is in response to an unintended breaking change that was introduced as part of the last Typescript definitions change, included in the release with version 1.6.0.

Now, no matter what the public key algorithm is, you can obtain it like this:

client.getSigningKey(kid, (err, jwk) => {
  const publicKey = jwk.getPublicKey();
});

Fixed

Don't miss a new jwks-rsa release

NewReleases is sending notifications on new releases.