{"action":"created","issue":{"url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/61","labels_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/61/comments","events_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/61/events","html_url":"https://github.com/tymondesigns/jwt-auth/issues/61","id":60667545,"number":61,"title":"Crossdomain broken","user":{"login":"kthnxbye","id":8209827,"avatar_url":"https://avatars.githubusercontent.com/u/8209827?v=3","gravatar_id":"","url":"https://api.github.com/users/kthnxbye","html_url":"https://github.com/kthnxbye","followers_url":"https://api.github.com/users/kthnxbye/followers","following_url":"https://api.github.com/users/kthnxbye/following{/other_user}","gists_url":"https://api.github.com/users/kthnxbye/gists{/gist_id}","starred_url":"https://api.github.com/users/kthnxbye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kthnxbye/subscriptions","organizations_url":"https://api.github.com/users/kthnxbye/orgs","repos_url":"https://api.github.com/users/kthnxbye/repos","events_url":"https://api.github.com/users/kthnxbye/events{/privacy}","received_events_url":"https://api.github.com/users/kthnxbye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-11T14:34:12Z","updated_at":"2015-03-19T23:11:55Z","closed_at":null,"body":"I got a new issue, when i pass the token via query (?token= ...) it brokes the crossdomain setting and i got the no origin allow and bla bla ..\r\n\r\nis there a way to resolve this? am i missing something?\r\n\r\nAlso can you provide an example about the \"Authorization: Bearer {yourtokenhere} header\" approach?\r\n\r\nty"},"comment":{"url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/comments/83798090","html_url":"https://github.com/tymondesigns/jwt-auth/issues/61#issuecomment-83798090","issue_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/61","id":83798090,"user":{"login":"kthnxbye","id":8209827,"avatar_url":"https://avatars.githubusercontent.com/u/8209827?v=3","gravatar_id":"","url":"https://api.github.com/users/kthnxbye","html_url":"https://github.com/kthnxbye","followers_url":"https://api.github.com/users/kthnxbye/followers","following_url":"https://api.github.com/users/kthnxbye/following{/other_user}","gists_url":"https://api.github.com/users/kthnxbye/gists{/gist_id}","starred_url":"https://api.github.com/users/kthnxbye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kthnxbye/subscriptions","organizations_url":"https://api.github.com/users/kthnxbye/orgs","repos_url":"https://api.github.com/users/kthnxbye/repos","events_url":"https://api.github.com/users/kthnxbye/events{/privacy}","received_events_url":"https://api.github.com/users/kthnxbye/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T23:11:54Z","updated_at":"2015-03-19T23:11:54Z","body":"Yes sr i did, i'll post the answer in github just in case someone else is\nhaving the same problem, actually it was a 'conflict' i dont know where\nwith another library, I was using a third-party lib to handle the cors but\ni switched back the app/filter.php $request approach and it's been working\nlike a charm since then.\n\nOn Thu, Mar 19, 2015 at 2:20 PM, Sean Tymon <notifications@github.com>\nwrote:\n\n> @kthnxbye <https://github.com/kthnxbye> did you resolve this ?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/tymondesigns/jwt-auth/issues/61#issuecomment-83726466>\n> .\n>\n"}}