{"action":"closed","issue":{"url":"https://api.github.com/repos/vdomah/oc-jwtauth/issues/15","repository_url":"https://api.github.com/repos/vdomah/oc-jwtauth","labels_url":"https://api.github.com/repos/vdomah/oc-jwtauth/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/vdomah/oc-jwtauth/issues/15/comments","events_url":"https://api.github.com/repos/vdomah/oc-jwtauth/issues/15/events","html_url":"https://github.com/vdomah/oc-jwtauth/issues/15","id":359362740,"node_id":"MDU6SXNzdWUzNTkzNjI3NDA=","number":15,"title":"How to retrieve the User session after login","user":{"login":"chrisvidal","id":2263496,"node_id":"MDQ6VXNlcjIyNjM0OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2263496?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisvidal","html_url":"https://github.com/chrisvidal","followers_url":"https://api.github.com/users/chrisvidal/followers","following_url":"https://api.github.com/users/chrisvidal/following{/other_user}","gists_url":"https://api.github.com/users/chrisvidal/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisvidal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisvidal/subscriptions","organizations_url":"https://api.github.com/users/chrisvidal/orgs","repos_url":"https://api.github.com/users/chrisvidal/repos","events_url":"https://api.github.com/users/chrisvidal/events{/privacy}","received_events_url":"https://api.github.com/users/chrisvidal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-12T08:10:00Z","updated_at":"2018-09-13T12:57:09Z","closed_at":"2018-09-13T12:57:09Z","author_association":"NONE","body":"Hi,\r\nHow to retrieve the User session after login?\r\nI am building API using this plugin to handle the authentication.\r\nHow do I get the logged user session?\r\nI tried the usual \r\n\r\n```\r\n$user = Auth::getUser();\r\n```\r\n\r\nbut it does not work\r\n\r\nthanks"}}
{"actor":{"display_login":"vdomah"}}