This commit is contained in:
AJ ONeal 2017-02-21 17:05:23 -07:00
parent 6a56024c74
commit 6092408a3f
2 changed files with 2 additions and 1 deletions

View File

@ -713,6 +713,7 @@
method: 'GET'
, url: OAUTH3.url.normalize(providerUri) + '/.well-known/oauth3/directives.json'
}).then(function (resp) {
console.log('raw directives', resp);
return resp.data;
});
}

View File

@ -31,7 +31,7 @@
console.log(params);
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;
console.log(prefix, 'directives');