Answer the question
In order to leave comments, you need to log in
laravel broadcasting not working, why not?
Good afternoon. Lara's private broadcasting refuses to work. On broadcasting, the documentation is disgusting, IMHO.
When connecting, it says: Client can not be authenticated, got HTTP status 403
Okay, put web.php in the route: Broadcast::routes(['middleware' => ['auth:api']]);
Then a 401 authorization error appears. That is, then we must install Laravel Passport in order to transfer the api token?
Nowhere is a word about authorization. Do you need a total token or not? Why doesn't broadcasting work out of the box without additional plugins?
That is, the default is Broadcast::routes(); which doesn't work? What for?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question