-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/broadcasting/auth 403 forbbiden #38
Comments
Same here, tried all that I can |
Does this help? Try adjusting your Broadcast::routes definition.
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
// Broadcast::routes();
Broadcast::routes(['middleware' => [
'api',
'auth:api',
]]);
require base_path('routes/channels.php');
}
} |
It solved to me, thank you!! Just for the records what I've done was using Broadcast::routes(['middleware' => ['api']]); instead of Broadcast::routes(); on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting a 403 in the broadcasting/ auth api. I already followed the steps but it keeps throwing me the error
The text was updated successfully, but these errors were encountered: