From c90fd2a6f4d3d54f62bb86a797a91733aa74578b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 29 Nov 2017 02:10:00 +0000 Subject: [PATCH] oauth3_authn -> authn@oauth3.org --- js/issuer.js | 2 +- js/playground.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/issuer.js b/js/issuer.js index f981466..0e8b6ed 100644 --- a/js/issuer.js +++ b/js/issuer.js @@ -121,7 +121,7 @@ $(function () { , '*': "FULL ACCOUNT ACCESS" }; - if ('oauth3_authn' === clientParams.scope) { + if ('authn@oauth3.org' === (clientParams.scope||'').toString()) { // implicit ppid grant is automatic console.warn('[security] fix scope checking on backend so that we can do automatic grants'); // TODO check user preference if implicit ppid grant is allowed diff --git a/js/playground.js b/js/playground.js index f1c73c1..fe005de 100644 --- a/js/playground.js +++ b/js/playground.js @@ -35,7 +35,7 @@ vm.defaults = { provider: vm.conf.provider_uri, directives: null }; vm.defaults.scopes = [ { name: 'profile@oauth3.org', desc: "Basic profile information", checked: true } - , { name: 'oauth3_authn', desc: "Basic secure authentication", checked: true } + , { name: 'authn@oauth3.org', desc: "Basic secure authentication", checked: true } //{ name: 'authn@oauth3.org', desc: "Basic secure authentication" } , { name: 'photos@daplie.com', desc: "Access to photos" } , { name: 'profile@oauth3.org', desc: "Access to basic profile info such as username, display_name, etc" }