{"action":"closed","issue":{"url":"https://api.github.com/repos/alefesouza/laravel-vue-boilerplate/issues/1","repository_url":"https://api.github.com/repos/alefesouza/laravel-vue-boilerplate","labels_url":"https://api.github.com/repos/alefesouza/laravel-vue-boilerplate/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/alefesouza/laravel-vue-boilerplate/issues/1/comments","events_url":"https://api.github.com/repos/alefesouza/laravel-vue-boilerplate/issues/1/events","html_url":"https://github.com/alefesouza/laravel-vue-boilerplate/issues/1","id":318060941,"number":1,"title":"Laravel Echo private channel","user":{"login":"ThunderPaul","id":5073248,"avatar_url":"https://avatars1.githubusercontent.com/u/5073248?v=4","gravatar_id":"","url":"https://api.github.com/users/ThunderPaul","html_url":"https://github.com/ThunderPaul","followers_url":"https://api.github.com/users/ThunderPaul/followers","following_url":"https://api.github.com/users/ThunderPaul/following{/other_user}","gists_url":"https://api.github.com/users/ThunderPaul/gists{/gist_id}","starred_url":"https://api.github.com/users/ThunderPaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThunderPaul/subscriptions","organizations_url":"https://api.github.com/users/ThunderPaul/orgs","repos_url":"https://api.github.com/users/ThunderPaul/repos","events_url":"https://api.github.com/users/ThunderPaul/events{/privacy}","received_events_url":"https://api.github.com/users/ThunderPaul/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-26T14:42:06Z","updated_at":"2018-04-28T04:47:09Z","closed_at":"2018-04-28T04:47:09Z","author_association":"NONE","body":"Hi,\r\nI'm using Pusher as live notification system in your boilerplate, with public channel working fine, but I can't use private channel.\r\n\r\nThis is my code:\r\n\r\nTheHeader.vue\r\n```\r\n(<any>window).Echo.private('App.User.' + this.userId)\r\n    .listen('.job', (e) => {\r\n        console.log(e.message);\r\n    });\r\n```\r\n\r\nEvent.php\r\n```\r\npublic function broadcastOn()\r\n    {\r\n        return new PrivateChannel('App.User.'.$this->user->id);\r\n    }\r\n```\r\n\r\nchannel.php\r\n```\r\nBroadcast::channel('App.User.{id}', function ($user, $id) {\r\n    return (int) $user->id === (int) $id;\r\n});\r\n```\r\nWhen frontend call URL http://pusher.localhost/broadcasting/auth I have this error:\r\n\r\n> Symfony \\ Component \\ HttpKernel \\ Exception \\ AccessDeniedHttpException\r\n> No message\r\n\r\n![image](https://user-images.githubusercontent.com/5073248/39312709-810706e6-4970-11e8-8dbb-3f81c1ba2be1.png)\r\n\r\nCan you help me?\r\n\r\nThank you"}}
{"actor":{"display_login":"alefesouza"}}