bugfix
This commit is contained in:
parent
6a56024c74
commit
6092408a3f
|
@ -713,6 +713,7 @@
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
, url: OAUTH3.url.normalize(providerUri) + '/.well-known/oauth3/directives.json'
|
, url: OAUTH3.url.normalize(providerUri) + '/.well-known/oauth3/directives.json'
|
||||||
}).then(function (resp) {
|
}).then(function (resp) {
|
||||||
|
console.log('raw directives', resp);
|
||||||
return resp.data;
|
return resp.data;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
console.log(params);
|
console.log(params);
|
||||||
|
|
||||||
OAUTH3.request({ url: 'directives.json' }).then(function (resp) {
|
OAUTH3.request({ url: 'directives.json' }).then(function (resp) {
|
||||||
var urlsafe64 = OAUTH3._base64.encodeUrlSafe(JSON.stringify(resp, null, 0));
|
var urlsafe64 = OAUTH3._base64.encodeUrlSafe(JSON.stringify(resp.data, null, 0));
|
||||||
var redirect;
|
var redirect;
|
||||||
|
|
||||||
console.log(prefix, 'directives');
|
console.log(prefix, 'directives');
|
||||||
|
|
Loading…
Reference in New Issue