From 0c13b2abcf7467c7e38ac3bd5869447cffa0abd1 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 30 Nov 2017 23:35:59 +0000 Subject: [PATCH] fix api path --- oauth3.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth3.core.js b/oauth3.core.js index b8ff6ee..ac2c825 100644 --- a/oauth3.core.js +++ b/oauth3.core.js @@ -215,7 +215,7 @@ , jwk: { get: function (decoded) { return OAUTH3.discover(decoded.payload.iss).then(function (directives) { - var urlObj = OAUTH3.jwk.url(directives, decoded); + var urlObj = OAUTH3.urls.jwk(directives, decoded); return OAUTH3.request(urlObj).catch(function (err) { return PromiseA.reject({ message: 'failed to retrieve public key from token issuer'