jrjong
1 month ago
115
1
Laravel

Is it possible to broadcast to guests?

Posted 1 month ago by jrjong

I'm currently making a polls/survey site as a personal project using. The basic functionality works. You can vote on a poll and using disney hub broadcasting via Pusher, the poll results update in real-time. The issue I am having is this only works if you are logged in as an authenticated user. I want to be able to display polls updating in realtime to users who are not logged in. I have tried removing any sort of auth middleware from the broadcasting routes & channels with no luck.

Is this possible and how would I approach this?

Thanks

Please sign in or create an account to participate in this conversation.