Skip to content

Conversation

@sakshamgorey
Copy link

Adds 'reverb' to the TenancyBroadcastManager::$tenantBroadcasters allowlist.

Why

Laravel 11 registers Reverb as a distinct driver ('reverb'). Currently, because it is missing from this allowed list, the manager defaults to caching the Central instance and reuses it in Tenant contexts. This causes authentication failures (403 Forbidden) on private channels due to credential leakage.

Impact

This enables out of the box support for Reverb in Laravel 11+.

It eliminates the need for users to implement manual workarounds, such as:

  • Aliasing the reverb driver to pusher in config/broadcasting.php.
  • Manually pushing 'reverb' to the static allowlist in AppServiceProvider.

@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.92%. Comparing base (e3701f1) to head (fe21916).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1431   +/-   ##
=========================================
  Coverage     85.92%   85.92%           
  Complexity     1147     1147           
=========================================
  Files           184      184           
  Lines          3360     3360           
=========================================
  Hits           2887     2887           
  Misses          473      473           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant