How to use the jwks-rsa.restore function in jwks-rsa

To help you get started, we’ve selected a few jwks-rsa examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github auth0 / node-auth0 / test / auth / oauth-with-idtoken-validation.tests.js View on Github external
this.afterEach(function() {
      if (jwt.verify.restore) {
        jwt.verify.restore();
      }
      if (jwksClient.restore) {
        jwksClient.restore();
      }
    });
    it('Calls `oauth.create` with correct params', function(done) {

jwks-rsa

Library to retrieve RSA public keys from a JWKS endpoint

MIT
Latest version published 1 year ago

Package Health Score

78 / 100
Full package analysis