fix url for validating token
This commit is contained in:
parent
738573a79c
commit
def91fb60d
|
@ -86,11 +86,11 @@ function onClickLogin() {
|
||||||
console.info('Secure PPID (aka subject):', session.token.sub);
|
console.info('Secure PPID (aka subject):', session.token.sub);
|
||||||
|
|
||||||
return oauth3.request({
|
return oauth3.request({
|
||||||
url: 'https://oauth3.org/api/issuer@oauth3.org/inspect'
|
url: 'https://api.oauth3.org/api/issuer@oauth3.org/acl/profile'
|
||||||
, session: session
|
, session: session
|
||||||
}).then(function (resp) {
|
}).then(function (resp) {
|
||||||
|
|
||||||
console.info("Inspect Token:");
|
console.info("Token Profile:");
|
||||||
console.log(resp.data);
|
console.log(resp.data);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue