{"action":"closed","issue":{"url":"https://api.github.com/repos/SUSE/Portus/issues/4","labels_url":"https://api.github.com/repos/SUSE/Portus/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/4/comments","events_url":"https://api.github.com/repos/SUSE/Portus/issues/4/events","html_url":"https://github.com/SUSE/Portus/issues/4","id":68690594,"number":4,"title":"Validate requests to token endpoint - they should conform with specs of scope","user":{"login":"kalabiyau","id":294998,"avatar_url":"https://avatars.githubusercontent.com/u/294998?v=3","gravatar_id":"","url":"https://api.github.com/users/kalabiyau","html_url":"https://github.com/kalabiyau","followers_url":"https://api.github.com/users/kalabiyau/followers","following_url":"https://api.github.com/users/kalabiyau/following{/other_user}","gists_url":"https://api.github.com/users/kalabiyau/gists{/gist_id}","starred_url":"https://api.github.com/users/kalabiyau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalabiyau/subscriptions","organizations_url":"https://api.github.com/users/kalabiyau/orgs","repos_url":"https://api.github.com/users/kalabiyau/repos","events_url":"https://api.github.com/users/kalabiyau/events{/privacy}","received_events_url":"https://api.github.com/users/kalabiyau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SUSE/Portus/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-15T14:01:03Z","updated_at":"2015-05-20T10:17:14Z","closed_at":"2015-05-20T10:17:14Z","body":"We can use ActiveModel::Validations to build proper pure ruby class"}}