{"action":"created","issue":{"url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/155","labels_url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/155/comments","events_url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/155/events","html_url":"https://github.com/thomseddon/node-oauth2-server/issues/155","id":58567445,"number":155,"title":"Getting user from the request after middleware authentication","user":{"login":"m-frachet","id":8035187,"avatar_url":"https://avatars.githubusercontent.com/u/8035187?v=3","gravatar_id":"","url":"https://api.github.com/users/m-frachet","html_url":"https://github.com/m-frachet","followers_url":"https://api.github.com/users/m-frachet/followers","following_url":"https://api.github.com/users/m-frachet/following{/other_user}","gists_url":"https://api.github.com/users/m-frachet/gists{/gist_id}","starred_url":"https://api.github.com/users/m-frachet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-frachet/subscriptions","organizations_url":"https://api.github.com/users/m-frachet/orgs","repos_url":"https://api.github.com/users/m-frachet/repos","events_url":"https://api.github.com/users/m-frachet/events{/privacy}","received_events_url":"https://api.github.com/users/m-frachet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-23T10:24:07Z","updated_at":"2015-02-23T12:41:33Z","closed_at":null,"body":"Can we get the user from the request through the authentication middleware (in secret area) ?"},"comment":{"url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/comments/75534638","html_url":"https://github.com/thomseddon/node-oauth2-server/issues/155#issuecomment-75534638","issue_url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/155","id":75534638,"user":{"login":"m-frachet","id":8035187,"avatar_url":"https://avatars.githubusercontent.com/u/8035187?v=3","gravatar_id":"","url":"https://api.github.com/users/m-frachet","html_url":"https://github.com/m-frachet","followers_url":"https://api.github.com/users/m-frachet/followers","following_url":"https://api.github.com/users/m-frachet/following{/other_user}","gists_url":"https://api.github.com/users/m-frachet/gists{/gist_id}","starred_url":"https://api.github.com/users/m-frachet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-frachet/subscriptions","organizations_url":"https://api.github.com/users/m-frachet/orgs","repos_url":"https://api.github.com/users/m-frachet/repos","events_url":"https://api.github.com/users/m-frachet/events{/privacy}","received_events_url":"https://api.github.com/users/m-frachet/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T12:41:33Z","updated_at":"2015-02-23T12:41:33Z","body":"I cant get it in my next middleware (loaded after the oauth one)"}}