lundi 2 septembre 2019

POST broadcasting/auth 403 (Forbidden) in laravel custom authentication

I am using custom authentication in laravel 5.8. I have configured laravel-websockets with Echo

Due to custom auth i am unable to complete the authentication. What should be added in app/Providers/BroadcastServiceProvider.php for custom authentication

window.Echo = new Echo({

broadcaster: 'pusher',

key: 'abcdefc',  

cluster: 'ap2',

wsHost:'localhost',

wsPort: 6001,

disableStats: false,

enabledTransports: ['ws', 'wss'] 

});

I am getting below error

Request URL: http://localhost:8000/broadcasting/auth Request Method: POST Status Code: 403 Forbidden



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NIZU0h
via IFTTT

Aucun commentaire:

Enregistrer un commentaire