{"action":"created","issue":{"url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/53","repository_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server","labels_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/53/comments","events_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/53/events","html_url":"https://github.com/tlaverdure/laravel-echo-server/issues/53","id":181627449,"number":53,"title":"Broadcast Auth on Laravel Homestead","user":{"login":"pfeiferchristopher","id":9256168,"avatar_url":"https://avatars.githubusercontent.com/u/9256168?v=3","gravatar_id":"","url":"https://api.github.com/users/pfeiferchristopher","html_url":"https://github.com/pfeiferchristopher","followers_url":"https://api.github.com/users/pfeiferchristopher/followers","following_url":"https://api.github.com/users/pfeiferchristopher/following{/other_user}","gists_url":"https://api.github.com/users/pfeiferchristopher/gists{/gist_id}","starred_url":"https://api.github.com/users/pfeiferchristopher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfeiferchristopher/subscriptions","organizations_url":"https://api.github.com/users/pfeiferchristopher/orgs","repos_url":"https://api.github.com/users/pfeiferchristopher/repos","events_url":"https://api.github.com/users/pfeiferchristopher/events{/privacy}","received_events_url":"https://api.github.com/users/pfeiferchristopher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-10-07T09:50:03Z","updated_at":"2016-10-16T09:50:35Z","closed_at":null,"body":"So I've gotten everything all setup, and so far public channels are working perfectly Laravel Echo receives events properly and all.\r\n\r\nBut it seems as though this package can not auth itself at `/broadcasting/auth`\r\n\r\nI've poured over all these docs and issues and even closed ones where I've seen some people have the same issue but their fix didn't help me.\r\n\r\nI'm working on Laravel Homestead using (gamejerks.app). Laravel-echo-server is running on the VM/Vagrant. Obviously Laravel Echo runs in the browser. I feel this is the issue because `gamejerks.app` is only usable to reach the VM is from Windows, not within the VM which is where this package is running.\r\n\r\nHere's my config:\r\n```\r\n{\r\n\t\"appKey\": \"{removed}\",\r\n\t\"authEndpoint\": \"/broadcasting/auth\",\r\n\t\"authHost\": \"http://gamejerks.app\",\r\n\t\"database\": \"redis\",\r\n\t\"databaseConfig\": {\r\n\t\t\"redis\": {},\r\n\t\t\"sqlite\": {\r\n\t\t\t\"databasePath\": \"/database/laravel-echo-server.sqlite\"\r\n\t\t}\r\n\t},\r\n\t\"devMode\": false,\r\n\t\"host\": \"gamejerks.app\",\r\n\t\"port\": \"6001\",\r\n\t\"protocol\": \"http\",\r\n\t\"referrers\": [],\r\n\t\"sslCertPath\": \"\",\r\n\t\"sslKeyPath\": \"\",\r\n\t\"verifyAuthPath\": true,\r\n\t\"verifyAuthServer\": false\r\n}\r\n```\r\n\r\nAnd my Laravel Echo config:\r\n```\r\nimport Echo from \"laravel-echo\";\r\n\r\nwindow.Echo = new Echo({\r\n    broadcaster: 'socket.io',\r\n    host: 'http://gamejerks.app:6001'\r\n});\r\n```\r\n\r\nAny help would be much appreciated because I'd love to switch to a local event server vs using pusher.io forever because the considerable lag in requests to the 3rd party."},"comment":{"url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/comments/254037514","html_url":"https://github.com/tlaverdure/laravel-echo-server/issues/53#issuecomment-254037514","issue_url":"https://api.github.com/repos/tlaverdure/laravel-echo-server/issues/53","id":254037514,"user":{"login":"pfeiferchristopher","id":9256168,"avatar_url":"https://avatars.githubusercontent.com/u/9256168?v=3","gravatar_id":"","url":"https://api.github.com/users/pfeiferchristopher","html_url":"https://github.com/pfeiferchristopher","followers_url":"https://api.github.com/users/pfeiferchristopher/followers","following_url":"https://api.github.com/users/pfeiferchristopher/following{/other_user}","gists_url":"https://api.github.com/users/pfeiferchristopher/gists{/gist_id}","starred_url":"https://api.github.com/users/pfeiferchristopher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfeiferchristopher/subscriptions","organizations_url":"https://api.github.com/users/pfeiferchristopher/orgs","repos_url":"https://api.github.com/users/pfeiferchristopher/repos","events_url":"https://api.github.com/users/pfeiferchristopher/events{/privacy}","received_events_url":"https://api.github.com/users/pfeiferchristopher/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T09:50:34Z","updated_at":"2016-10-16T09:50:34Z","body":"@jimtendo perhaps this is what you meant but in my browser I was logged in for sure even tried logging out and back in. But my guess is that the request being made from this package to `/broadcasting/auth` doesn't have any credentials or nothing to tell Laravel what user is logged in, etc."}}
{"actor":{"display_login":"pfeiferchristopher"}}