{"action":"opened","issue":{"url":"https://api.github.com/repos/thephpleague/oauth2-server/issues/826","repository_url":"https://api.github.com/repos/thephpleague/oauth2-server","labels_url":"https://api.github.com/repos/thephpleague/oauth2-server/issues/826/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/oauth2-server/issues/826/comments","events_url":"https://api.github.com/repos/thephpleague/oauth2-server/issues/826/events","html_url":"https://github.com/thephpleague/oauth2-server/issues/826","id":282685682,"number":826,"title":"How to use scopes?","user":{"login":"enesyurtlu","id":5845697,"avatar_url":"https://avatars3.githubusercontent.com/u/5845697?v=4","gravatar_id":"","url":"https://api.github.com/users/enesyurtlu","html_url":"https://github.com/enesyurtlu","followers_url":"https://api.github.com/users/enesyurtlu/followers","following_url":"https://api.github.com/users/enesyurtlu/following{/other_user}","gists_url":"https://api.github.com/users/enesyurtlu/gists{/gist_id}","starred_url":"https://api.github.com/users/enesyurtlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enesyurtlu/subscriptions","organizations_url":"https://api.github.com/users/enesyurtlu/orgs","repos_url":"https://api.github.com/users/enesyurtlu/repos","events_url":"https://api.github.com/users/enesyurtlu/events{/privacy}","received_events_url":"https://api.github.com/users/enesyurtlu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-17T11:00:02Z","updated_at":"2017-12-17T11:00:02Z","closed_at":null,"author_association":"NONE","body":"Hi all,\r\nThis is not an issue. I can't get scope values. How can I get and use them? I tried $request->getAttribute(\"oath_scope\") and $ScopeEntity->getIdentifier() but it returns null.\r\nI want to make role based routes. Anyone knows how to ?"}}
{"actor":{"display_login":"enesyurtlu"}}