This commit is contained in:
AJ ONeal 2017-11-29 02:10:00 +00:00
parent f069314e76
commit c90fd2a6f4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

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