Šī revīzija ir iekļauta:
AJ ONeal 2017-11-29 02:10:00 +00:00
vecāks f069314e76
revīzija c90fd2a6f4
2 mainīti faili ar 2 papildinājumiem un 2 dzēšanām

Parādīt failu

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

Parādīt failu

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