I am trying to make my app app connect to pusher on a private channel.
But I am getting the following error:
pusher.js?b3eb:593 POST http://l
Complete These Steps
1) In config/app.php
uncomment this line-
App\Providers\BroadcastServiceProvider::class,
2) If above not work and still you've got the error - then I'm sure you are not logged in. Just login to your account and check(because it's your private broadcast).
It'll solve your issue and since you can also pass additional auth parameters as your need in app\Providers\BroadcastServiceProvider.php
Broadcast::routes(['middleware' => 'auth:admin']);