{"action":"created","issue":{"url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/106","labels_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/106/comments","events_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/106/events","html_url":"https://github.com/tymondesigns/jwt-auth/issues/106","id":71801375,"number":106,"title":"The token could not be parsed from the request","user":{"login":"carousel","id":1110741,"avatar_url":"https://avatars.githubusercontent.com/u/1110741?v=3","gravatar_id":"","url":"https://api.github.com/users/carousel","html_url":"https://github.com/carousel","followers_url":"https://api.github.com/users/carousel/followers","following_url":"https://api.github.com/users/carousel/following{/other_user}","gists_url":"https://api.github.com/users/carousel/gists{/gist_id}","starred_url":"https://api.github.com/users/carousel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carousel/subscriptions","organizations_url":"https://api.github.com/users/carousel/orgs","repos_url":"https://api.github.com/users/carousel/repos","events_url":"https://api.github.com/users/carousel/events{/privacy}","received_events_url":"https://api.github.com/users/carousel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-29T07:32:26Z","updated_at":"2015-05-07T22:31:26Z","closed_at":null,"body":"Hi,\r\n\r\nI am getting this error, when I try to use token on server. I am using Laravel4, and cookies to store token. \r\n\r\nBefore every request, in App::before filter I have  \r\n\r\nIf(\\Cookie::get(\"Bearer\")){\r\n    $token = \\Cookie::get(\"Bearer\");\r\n    header(\"Authorization: Bearer $token\");\r\n};\r\n\r\nCookie with token is returned from server \r\n\r\nafter authentication like this:\r\n\r\nreturn Response::make(compact('token'))\r\n    ->withCookie(\\Cookie::make(\"Bearer\",$token);\r\n\r\nAnd I see header is set properly on request:\r\n\r\n![screenshot from 2015-04-29 09 31 00](https://cloud.githubusercontent.com/assets/1110741/7386314/9e599b04-ee52-11e4-95fa-5674af4ff77d.png)"},"comment":{"url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/comments/100038562","html_url":"https://github.com/tymondesigns/jwt-auth/issues/106#issuecomment-100038562","issue_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/106","id":100038562,"user":{"login":"carousel","id":1110741,"avatar_url":"https://avatars.githubusercontent.com/u/1110741?v=3","gravatar_id":"","url":"https://api.github.com/users/carousel","html_url":"https://github.com/carousel","followers_url":"https://api.github.com/users/carousel/followers","following_url":"https://api.github.com/users/carousel/following{/other_user}","gists_url":"https://api.github.com/users/carousel/gists{/gist_id}","starred_url":"https://api.github.com/users/carousel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carousel/subscriptions","organizations_url":"https://api.github.com/users/carousel/orgs","repos_url":"https://api.github.com/users/carousel/repos","events_url":"https://api.github.com/users/carousel/events{/privacy}","received_events_url":"https://api.github.com/users/carousel/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T22:31:26Z","updated_at":"2015-05-07T22:31:26Z","body":"@tymondesigns that is great. I like you package, but found difficult to make it work in Laravel(4,5) because of token parsing."}}