fix api path
This commit is contained in:
parent
f4445586a5
commit
0c13b2abcf
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue