{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/passport/issues/220","repository_url":"https://api.github.com/repos/laravel/passport","labels_url":"https://api.github.com/repos/laravel/passport/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/laravel/passport/issues/220/comments","events_url":"https://api.github.com/repos/laravel/passport/issues/220/events","html_url":"https://github.com/laravel/passport/pull/220","id":197793330,"number":220,"title":"Allow X-XSRF-TOKEN","user":{"login":"joecampo","id":3619398,"avatar_url":"https://avatars.githubusercontent.com/u/3619398?v=3","gravatar_id":"","url":"https://api.github.com/users/joecampo","html_url":"https://github.com/joecampo","followers_url":"https://api.github.com/users/joecampo/followers","following_url":"https://api.github.com/users/joecampo/following{/other_user}","gists_url":"https://api.github.com/users/joecampo/gists{/gist_id}","starred_url":"https://api.github.com/users/joecampo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joecampo/subscriptions","organizations_url":"https://api.github.com/users/joecampo/orgs","repos_url":"https://api.github.com/users/joecampo/repos","events_url":"https://api.github.com/users/joecampo/events{/privacy}","received_events_url":"https://api.github.com/users/joecampo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-28T04:12:44Z","updated_at":"2016-12-28T13:53:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/passport/pulls/220","html_url":"https://github.com/laravel/passport/pull/220","diff_url":"https://github.com/laravel/passport/pull/220.diff","patch_url":"https://github.com/laravel/passport/pull/220.patch"},"body":"Allow the XSRF token cookie to validate the CSRF token as well. I noticed that the switch to axios in L5.4 no longer requires you to pass along the X-CSRF-TOKEN header like vue-resource did. This will allow passport to work out of the box w/ the CreateFreshApiToken middleware w/ L5.4"},"comment":{"url":"https://api.github.com/repos/laravel/passport/issues/comments/269479904","html_url":"https://github.com/laravel/passport/pull/220#issuecomment-269479904","issue_url":"https://api.github.com/repos/laravel/passport/issues/220","id":269479904,"user":{"login":"taylorotwell","id":463230,"avatar_url":"https://avatars.githubusercontent.com/u/463230?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorotwell","html_url":"https://github.com/taylorotwell","followers_url":"https://api.github.com/users/taylorotwell/followers","following_url":"https://api.github.com/users/taylorotwell/following{/other_user}","gists_url":"https://api.github.com/users/taylorotwell/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorotwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorotwell/subscriptions","organizations_url":"https://api.github.com/users/taylorotwell/orgs","repos_url":"https://api.github.com/users/taylorotwell/repos","events_url":"https://api.github.com/users/taylorotwell/events{/privacy}","received_events_url":"https://api.github.com/users/taylorotwell/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T13:53:36Z","updated_at":"2016-12-28T13:53:36Z","body":"axios does pass along the header like vue-resource, it just does it automatically like Angular does."}}
{"actor":{"display_login":"taylorotwell"}}