{"action":"created","issue":{"url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/692","labels_url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/692/labels{/name}","comments_url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/692/comments","events_url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/692/events","html_url":"https://github.com/doorkeeper-gem/doorkeeper/pull/692","id":94826289,"number":692,"title":"Ensure applications scopes","user":{"login":"andreacfm","id":47330,"avatar_url":"https://avatars.githubusercontent.com/u/47330?v=3","gravatar_id":"","url":"https://api.github.com/users/andreacfm","html_url":"https://github.com/andreacfm","followers_url":"https://api.github.com/users/andreacfm/followers","following_url":"https://api.github.com/users/andreacfm/following{/other_user}","gists_url":"https://api.github.com/users/andreacfm/gists{/gist_id}","starred_url":"https://api.github.com/users/andreacfm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreacfm/subscriptions","organizations_url":"https://api.github.com/users/andreacfm/orgs","repos_url":"https://api.github.com/users/andreacfm/repos","events_url":"https://api.github.com/users/andreacfm/events{/privacy}","received_events_url":"https://api.github.com/users/andreacfm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-13T22:28:59Z","updated_at":"2015-08-23T03:47:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/pulls/692","html_url":"https://github.com/doorkeeper-gem/doorkeeper/pull/692","diff_url":"https://github.com/doorkeeper-gem/doorkeeper/pull/692.diff","patch_url":"https://github.com/doorkeeper-gem/doorkeeper/pull/692.patch"},"body":"This PR adds a config that forces the Scope Checker to be runned only vs application scopes. No server scopes will be used and authorization will fail if the required scopes does not match an application scope.\r\nSometimes falling back on server scopes can be too weak because if an application does not define any scope == any server scope can be granted.\r\nThe **ensure_application_scope** add a strong rule that limit the authorizable scopes ONLY to the application scopes. "},"comment":{"url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/comments/133778453","html_url":"https://github.com/doorkeeper-gem/doorkeeper/pull/692#issuecomment-133778453","issue_url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/692","id":133778453,"user":{"login":"tute","id":54260,"avatar_url":"https://avatars.githubusercontent.com/u/54260?v=3","gravatar_id":"","url":"https://api.github.com/users/tute","html_url":"https://github.com/tute","followers_url":"https://api.github.com/users/tute/followers","following_url":"https://api.github.com/users/tute/following{/other_user}","gists_url":"https://api.github.com/users/tute/gists{/gist_id}","starred_url":"https://api.github.com/users/tute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tute/subscriptions","organizations_url":"https://api.github.com/users/tute/orgs","repos_url":"https://api.github.com/users/tute/repos","events_url":"https://api.github.com/users/tute/events{/privacy}","received_events_url":"https://api.github.com/users/tute/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T03:47:55Z","updated_at":"2015-08-23T03:47:55Z","body":"ping @andreacfm. Thank you!"}}