FilamentF
Filament9mo ago
Alex'R

Use Reverb With Filament

Hello,

I'm currently stuck implementing Laravel Reverb with Filament. I'm working locally with Herd Pro, so I've enabled Reverb on Herd and expected to be able to use it with the following configuration:

REVERB_APP_ID=1001
REVERB_APP_KEY=laravel-herd
REVERB_APP_SECRET=secret
REVERB_HOST="reverb.herd.test"
REVERB_PORT=443
REVERB_SCHEME=https


Of course, I uncommented the echo part in the filament configuration file
However, each time I get stuck with this error message:

Access to XMLHttpRequest at 'https://sockjs.pusher.com/pusher/app/laravel-herd/721/1eikdt8v/xhr?protocol=7&client=js&version=7.6.0&t=1744619234533&n=2' from origin 'https://project.test' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.


I've updated my cors.php configuration file to make it as permissive as possible in the meantime.

I'm out of ideas; I think there's something I must be doing wrong or that I haven't quite understood.

Does anyone have any ideas on the optimal settings to implement?

Thank you for your help.
Sincerely,
Alexandre
Capture_decran_2025-04-14_a_10.35.43.png
Capture_decran_2025-04-14_a_10.36.17.png
Was this page helpful?