{"action":"created","issue":{"url":"https://api.github.com/repos/khlipeng/lumen-api-jwt/issues/2","repository_url":"https://api.github.com/repos/khlipeng/lumen-api-jwt","labels_url":"https://api.github.com/repos/khlipeng/lumen-api-jwt/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/khlipeng/lumen-api-jwt/issues/2/comments","events_url":"https://api.github.com/repos/khlipeng/lumen-api-jwt/issues/2/events","html_url":"https://github.com/khlipeng/lumen-api-jwt/issues/2","id":163117491,"number":2,"title":"Not getting the right user from token after logging in","user":{"login":"jonasvanderhaegen","id":7755555,"avatar_url":"https://avatars.githubusercontent.com/u/7755555?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasvanderhaegen","html_url":"https://github.com/jonasvanderhaegen","followers_url":"https://api.github.com/users/jonasvanderhaegen/followers","following_url":"https://api.github.com/users/jonasvanderhaegen/following{/other_user}","gists_url":"https://api.github.com/users/jonasvanderhaegen/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasvanderhaegen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasvanderhaegen/subscriptions","organizations_url":"https://api.github.com/users/jonasvanderhaegen/orgs","repos_url":"https://api.github.com/users/jonasvanderhaegen/repos","events_url":"https://api.github.com/users/jonasvanderhaegen/events{/privacy}","received_events_url":"https://api.github.com/users/jonasvanderhaegen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-30T09:09:39Z","updated_at":"2016-07-04T09:27:31Z","closed_at":"2016-07-04T08:57:46Z","body":"Hello Khlipeng\r\n\r\nThank you for making it work so far, I only have an issue with multiple users. When I log in with for example user 4 or user 5 it seems to go wrong here : JWTAuth::attempt($credentials). It does get me logged in but with user 1 instead of user 4 or 5. When I get information from the token it always gives me user 1's information.\r\n\r\nCan you test and correct this with multiple accounts please? \r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/khlipeng/lumen-api-jwt/issues/comments/230246713","html_url":"https://github.com/khlipeng/lumen-api-jwt/issues/2#issuecomment-230246713","issue_url":"https://api.github.com/repos/khlipeng/lumen-api-jwt/issues/2","id":230246713,"user":{"login":"jonasvanderhaegen","id":7755555,"avatar_url":"https://avatars.githubusercontent.com/u/7755555?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasvanderhaegen","html_url":"https://github.com/jonasvanderhaegen","followers_url":"https://api.github.com/users/jonasvanderhaegen/followers","following_url":"https://api.github.com/users/jonasvanderhaegen/following{/other_user}","gists_url":"https://api.github.com/users/jonasvanderhaegen/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasvanderhaegen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasvanderhaegen/subscriptions","organizations_url":"https://api.github.com/users/jonasvanderhaegen/orgs","repos_url":"https://api.github.com/users/jonasvanderhaegen/repos","events_url":"https://api.github.com/users/jonasvanderhaegen/events{/privacy}","received_events_url":"https://api.github.com/users/jonasvanderhaegen/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T09:27:31Z","updated_at":"2016-07-04T09:27:31Z","body":"@khlipeng Nice man, thank you very much! I'll try again later today to confirm."}}
{"actor":{"display_login":"jonasvanderhaegen"}}