fix api path

This commit is contained in:
AJ ONeal 2017-11-30 23:35:59 +00:00
parent f4445586a5
commit 0c13b2abcf
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@
, jwk: { , jwk: {
get: function (decoded) { get: function (decoded) {
return OAUTH3.discover(decoded.payload.iss).then(function (directives) { 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 OAUTH3.request(urlObj).catch(function (err) {
return PromiseA.reject({ return PromiseA.reject({
message: 'failed to retrieve public key from token issuer' message: 'failed to retrieve public key from token issuer'