Level 1
Okay, this is what I found so far, Echo.join is used to subscribe to a PresenceChannel so, it will automatically hit /broadcast/auth to authenticate the current user. Since its a guest, throws a 403 error.
I have the following channel definition, I keep getting the 403 error for guest user. What is wrong here? Do I need to disable some middleware? I am using Laravel 11
Broadcast::channel('Room.{id}', function ($user) {
return true;
});
const ws = Echo.join('Room.xxxxxxx');
Please or to participate in this conversation.