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" }