{"action":"created","issue":{"url":"https://api.github.com/repos/chrisbjr/api-guard/issues/105","repository_url":"https://api.github.com/repos/chrisbjr/api-guard","labels_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/105/comments","events_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/105/events","html_url":"https://github.com/chrisbjr/api-guard/issues/105","id":137476310,"number":105,"title":"Getting Session Auth error when using ApiGuard ","user":{"login":"newelement","id":188085,"avatar_url":"https://avatars.githubusercontent.com/u/188085?v=3","gravatar_id":"","url":"https://api.github.com/users/newelement","html_url":"https://github.com/newelement","followers_url":"https://api.github.com/users/newelement/followers","following_url":"https://api.github.com/users/newelement/following{/other_user}","gists_url":"https://api.github.com/users/newelement/gists{/gist_id}","starred_url":"https://api.github.com/users/newelement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newelement/subscriptions","organizations_url":"https://api.github.com/users/newelement/orgs","repos_url":"https://api.github.com/users/newelement/repos","events_url":"https://api.github.com/users/newelement/events{/privacy}","received_events_url":"https://api.github.com/users/newelement/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-01T05:40:09Z","updated_at":"2016-03-08T21:04:51Z","closed_at":null,"body":"Greetings,\r\n\r\nI'm getting this error on v3.0.3. This happens when I do an actual test of my api using the X-Authentication header\r\n\r\nArgument 1 passed to Illuminate\\Auth\\SessionGuard::login() must implement interface Illuminate\\Contracts\\Auth\\Authenticatable, null given"},"comment":{"url":"https://api.github.com/repos/chrisbjr/api-guard/issues/comments/193966166","html_url":"https://github.com/chrisbjr/api-guard/issues/105#issuecomment-193966166","issue_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/105","id":193966166,"user":{"login":"mShahidAslam","id":5815672,"avatar_url":"https://avatars.githubusercontent.com/u/5815672?v=3","gravatar_id":"","url":"https://api.github.com/users/mShahidAslam","html_url":"https://github.com/mShahidAslam","followers_url":"https://api.github.com/users/mShahidAslam/followers","following_url":"https://api.github.com/users/mShahidAslam/following{/other_user}","gists_url":"https://api.github.com/users/mShahidAslam/gists{/gist_id}","starred_url":"https://api.github.com/users/mShahidAslam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mShahidAslam/subscriptions","organizations_url":"https://api.github.com/users/mShahidAslam/orgs","repos_url":"https://api.github.com/users/mShahidAslam/repos","events_url":"https://api.github.com/users/mShahidAslam/events{/privacy}","received_events_url":"https://api.github.com/users/mShahidAslam/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T21:04:51Z","updated_at":"2016-03-08T21:04:51Z","body":"I had the same problem and solved it by extending User model with `Authenticatable`.\r\n\r\nExtend your User model with this class. It should look like following:\r\n`use Illuminate\\Foundation\\Auth\\User as Authenticatable;\r\n\r\nclass User extends Authenticatable\r\n{\r\n// Your $fillable and $hidden arrays.\r\n}`\r\n\r\nHope, it will solve your problem."}}