oauth3_authn -> authn@oauth3.org
This commit is contained in:
parent
f069314e76
commit
c90fd2a6f4
|
@ -121,7 +121,7 @@ $(function () {
|
||||||
, '*': "FULL ACCOUNT ACCESS"
|
, '*': "FULL ACCOUNT ACCESS"
|
||||||
};
|
};
|
||||||
|
|
||||||
if ('oauth3_authn' === clientParams.scope) {
|
if ('authn@oauth3.org' === (clientParams.scope||'').toString()) {
|
||||||
// implicit ppid grant is automatic
|
// implicit ppid grant is automatic
|
||||||
console.warn('[security] fix scope checking on backend so that we can do automatic grants');
|
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
|
// TODO check user preference if implicit ppid grant is allowed
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
vm.defaults = { provider: vm.conf.provider_uri, directives: null };
|
vm.defaults = { provider: vm.conf.provider_uri, directives: null };
|
||||||
vm.defaults.scopes = [
|
vm.defaults.scopes = [
|
||||||
{ name: 'profile@oauth3.org', desc: "Basic profile information", checked: true }
|
{ 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: 'authn@oauth3.org', desc: "Basic secure authentication" }
|
||||||
, { name: 'photos@daplie.com', desc: "Access to photos" }
|
, { name: 'photos@daplie.com', desc: "Access to photos" }
|
||||||
, { name: 'profile@oauth3.org', desc: "Access to basic profile info such as username, display_name, etc" }
|
, { name: 'profile@oauth3.org', desc: "Access to basic profile info such as username, display_name, etc" }
|
||||||
|
|
Loading…
Reference in New Issue