{"action":"closed","issue":{"url":"https://api.github.com/repos/dingo/api/issues/623","labels_url":"https://api.github.com/repos/dingo/api/issues/623/labels{/name}","comments_url":"https://api.github.com/repos/dingo/api/issues/623/comments","events_url":"https://api.github.com/repos/dingo/api/issues/623/events","html_url":"https://github.com/dingo/api/issues/623","id":104322503,"number":623,"title":"Auth issues","user":{"login":"Zyles","id":1741593,"avatar_url":"https://avatars.githubusercontent.com/u/1741593?v=3","gravatar_id":"","url":"https://api.github.com/users/Zyles","html_url":"https://github.com/Zyles","followers_url":"https://api.github.com/users/Zyles/followers","following_url":"https://api.github.com/users/Zyles/following{/other_user}","gists_url":"https://api.github.com/users/Zyles/gists{/gist_id}","starred_url":"https://api.github.com/users/Zyles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zyles/subscriptions","organizations_url":"https://api.github.com/users/Zyles/orgs","repos_url":"https://api.github.com/users/Zyles/repos","events_url":"https://api.github.com/users/Zyles/events{/privacy}","received_events_url":"https://api.github.com/users/Zyles/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-01T18:02:50Z","updated_at":"2015-09-02T01:13:38Z","closed_at":"2015-09-02T01:13:38Z","body":"Some more fun problems here...\r\n\r\nI try to tackle auth now and it does not want to play well. I tried both basic and JWT.\r\n\r\nLet's take JWT for example... Installed it as per instructions. Changed the User model namespace in config/jwt.php to 'user' => 'App\\Models', because that's where my user model is. The class itself is  App\\Models\\User ... I also tried this combination.\r\n\r\nThen I changed the jwt provider line to:\r\n```\r\n'jwt' => 'Dingo\\Api\\Auth\\Provider\\JWT',\r\n```\r\n\r\nAnd also generated a JWT secret.\r\n\r\nWhen I visit my API I get a whoops error:\r\n```\r\nReflectionException in Container.php line 736:\r\nClass App\\User does not exist\r\n```\r\n\r\nOf course it doesn't!\r\n\r\nSame error using basic auth...\r\n\r\nThanks."}}