{"action":"created","issue":{"url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/81","labels_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/81/comments","events_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/81/events","html_url":"https://github.com/tymondesigns/jwt-auth/issues/81","id":67681240,"number":81,"title":"Token Not Provided","user":{"login":"mcblum","id":1761867,"avatar_url":"https://avatars.githubusercontent.com/u/1761867?v=3","gravatar_id":"","url":"https://api.github.com/users/mcblum","html_url":"https://github.com/mcblum","followers_url":"https://api.github.com/users/mcblum/followers","following_url":"https://api.github.com/users/mcblum/following{/other_user}","gists_url":"https://api.github.com/users/mcblum/gists{/gist_id}","starred_url":"https://api.github.com/users/mcblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcblum/subscriptions","organizations_url":"https://api.github.com/users/mcblum/orgs","repos_url":"https://api.github.com/users/mcblum/repos","events_url":"https://api.github.com/users/mcblum/events{/privacy}","received_events_url":"https://api.github.com/users/mcblum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-04-10T20:55:35Z","updated_at":"2016-01-19T05:45:10Z","closed_at":"2015-04-14T19:08:10Z","body":"Hello.\r\n\r\nI've added the following header to all of my requests in Angular:\r\n\r\n    Authorization: Bearer eyJhbGciOiJI...\r\n\r\nand I can see that it's working. On the Laravel side I'm using:\r\n\r\n    public function __construct()\r\n\t{\r\n\t\t$this->middleware('jwt.auth');\r\n\t}\r\n\r\nNo matter what I do I'm getting 400 bad request, token_not_provided. Any idea what might be going on?\r\n\r\nThank you for your work on this package.\r\nMatt"},"comment":{"url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/comments/172747654","html_url":"https://github.com/tymondesigns/jwt-auth/issues/81#issuecomment-172747654","issue_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/81","id":172747654,"user":{"login":"fillit","id":12271226,"avatar_url":"https://avatars.githubusercontent.com/u/12271226?v=3","gravatar_id":"","url":"https://api.github.com/users/fillit","html_url":"https://github.com/fillit","followers_url":"https://api.github.com/users/fillit/followers","following_url":"https://api.github.com/users/fillit/following{/other_user}","gists_url":"https://api.github.com/users/fillit/gists{/gist_id}","starred_url":"https://api.github.com/users/fillit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fillit/subscriptions","organizations_url":"https://api.github.com/users/fillit/orgs","repos_url":"https://api.github.com/users/fillit/repos","events_url":"https://api.github.com/users/fillit/events{/privacy}","received_events_url":"https://api.github.com/users/fillit/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T05:45:10Z","updated_at":"2016-01-19T05:45:10Z","body":"@mcblum the api is a subdomain i.e. api.subdomain.com.  This code:\r\nRewriteCond %{REQUEST_URI} !^public\r\nRewriteRule ^(.*)$ public/$1 [L]\r\n\r\nis to be able to access the subdomain.\r\n\r\nDo you know of an alternate method for this?"}}