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
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire