{"action":"created","issue":{"url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/289","labels_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/289/comments","events_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/289/events","html_url":"https://github.com/tymondesigns/jwt-auth/issues/289","id":111631321,"number":289,"title":"JWTException thrown in command line","user":{"login":"renoguyon","id":2380881,"avatar_url":"https://avatars.githubusercontent.com/u/2380881?v=3","gravatar_id":"","url":"https://api.github.com/users/renoguyon","html_url":"https://github.com/renoguyon","followers_url":"https://api.github.com/users/renoguyon/followers","following_url":"https://api.github.com/users/renoguyon/following{/other_user}","gists_url":"https://api.github.com/users/renoguyon/gists{/gist_id}","starred_url":"https://api.github.com/users/renoguyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renoguyon/subscriptions","organizations_url":"https://api.github.com/users/renoguyon/orgs","repos_url":"https://api.github.com/users/renoguyon/repos","events_url":"https://api.github.com/users/renoguyon/events{/privacy}","received_events_url":"https://api.github.com/users/renoguyon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-15T14:39:16Z","updated_at":"2015-10-25T17:50:24Z","closed_at":null,"body":"Hi,\r\n\r\nI just installed a fresh new Laravel 5.1 setup with JWT-Auth 0.5.5 and I got an exception thrown every time I run a command in console.\r\n\r\nHere is my composer.json file:\r\n\r\n```\r\n\"laravel/framework\": \"5.1.*\",\r\n\"dingo/api\": \"0.10.*\",\r\n\"tymon/jwt-auth\": \"0.5.*\"\r\n```\r\n\r\nThe command output:\r\n\r\n```\r\n(...)\r\nGenerating autoload files\r\n> php artisan clear-compiled\r\n\r\n  [Tymon\\JWTAuth\\Exceptions\\JWTException]\r\n  The token could not be parsed from the request\r\n\r\nScript php artisan clear-compiled handling the post-install-cmd event returned with an error\r\n\r\n  [RuntimeException]\r\n  Error Output:\r\n```\r\n\r\nAnd every time I run a command I get something like:\r\n\r\n```\r\n# php artisan list\r\n\r\n  [Tymon\\JWTAuth\\Exceptions\\JWTException]\r\n  The token could not be parsed from the request\r\n```\r\n\r\nIt seems like JWT is looking for a token for each request, even if its not in API context.\r\n\r\nAny idea?\r\n\r\nThanks for your support :)  "},"comment":{"url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/comments/150948190","html_url":"https://github.com/tymondesigns/jwt-auth/issues/289#issuecomment-150948190","issue_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/289","id":150948190,"user":{"login":"tdhsmith","id":1791252,"avatar_url":"https://avatars.githubusercontent.com/u/1791252?v=3","gravatar_id":"","url":"https://api.github.com/users/tdhsmith","html_url":"https://github.com/tdhsmith","followers_url":"https://api.github.com/users/tdhsmith/followers","following_url":"https://api.github.com/users/tdhsmith/following{/other_user}","gists_url":"https://api.github.com/users/tdhsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/tdhsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdhsmith/subscriptions","organizations_url":"https://api.github.com/users/tdhsmith/orgs","repos_url":"https://api.github.com/users/tdhsmith/repos","events_url":"https://api.github.com/users/tdhsmith/events{/privacy}","received_events_url":"https://api.github.com/users/tdhsmith/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T17:50:24Z","updated_at":"2015-10-25T17:50:24Z","body":"Ahh thanks for the update; glad you figured it out!"}}