{"action":"created","issue":{"url":"https://api.github.com/repos/ADmad/cakephp-jwt-auth/issues/13","labels_url":"https://api.github.com/repos/ADmad/cakephp-jwt-auth/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ADmad/cakephp-jwt-auth/issues/13/comments","events_url":"https://api.github.com/repos/ADmad/cakephp-jwt-auth/issues/13/events","html_url":"https://github.com/ADmad/cakephp-jwt-auth/issues/13","id":101200860,"number":13,"title":"getallheaders return headers case-insensitive in _getToken()","user":{"login":"johnsoons","id":8482854,"avatar_url":"https://avatars.githubusercontent.com/u/8482854?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsoons","html_url":"https://github.com/johnsoons","followers_url":"https://api.github.com/users/johnsoons/followers","following_url":"https://api.github.com/users/johnsoons/following{/other_user}","gists_url":"https://api.github.com/users/johnsoons/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsoons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsoons/subscriptions","organizations_url":"https://api.github.com/users/johnsoons/orgs","repos_url":"https://api.github.com/users/johnsoons/repos","events_url":"https://api.github.com/users/johnsoons/events{/privacy}","received_events_url":"https://api.github.com/users/johnsoons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-15T19:15:40Z","updated_at":"2015-08-15T21:29:01Z","closed_at":null,"body":"I found something that might be useful and could save you a few hours of debugging. \r\nThe getallheaders() function returns the header fields case-insensitive, so the header \"Authorization\" may not be found in certain requests.\r\n\r\nhttp://php.net/manual/en/function.getallheaders.php#52029\r\n\r\nSorry, my English is limited, I used Google Translate\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ADmad/cakephp-jwt-auth/issues/comments/131449542","html_url":"https://github.com/ADmad/cakephp-jwt-auth/issues/13#issuecomment-131449542","issue_url":"https://api.github.com/repos/ADmad/cakephp-jwt-auth/issues/13","id":131449542,"user":{"login":"ADmad","id":142658,"avatar_url":"https://avatars.githubusercontent.com/u/142658?v=3","gravatar_id":"","url":"https://api.github.com/users/ADmad","html_url":"https://github.com/ADmad","followers_url":"https://api.github.com/users/ADmad/followers","following_url":"https://api.github.com/users/ADmad/following{/other_user}","gists_url":"https://api.github.com/users/ADmad/gists{/gist_id}","starred_url":"https://api.github.com/users/ADmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADmad/subscriptions","organizations_url":"https://api.github.com/users/ADmad/orgs","repos_url":"https://api.github.com/users/ADmad/repos","events_url":"https://api.github.com/users/ADmad/events{/privacy}","received_events_url":"https://api.github.com/users/ADmad/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T21:29:01Z","updated_at":"2015-08-15T21:29:01Z","body":"I am curious which webserver you are using and why isn't `$_SERVER['HTTP_AUTHORIZATION']` set for you."}}