nuxt-community / laravel-echo-module

Laravel Echo for Nuxt 2
MIT License
85 stars 32 forks source link

Compability with new laravel's airlock feature #10

Closed thanosalexander closed 3 years ago

thanosalexander commented 4 years ago

Hi. i want to open this thread to find a solution into this implementation.

However i succefully got authentication , in echo i receive only

{"message":"Unauthenticated."}
Client can not be authenticated, got HTTP status 401

even if i set Broadcast::routes(['middleware' => ['auth:airlock']]); as suggested in documentation https://laravel.com/docs/7.x/airlock#authorizing-private-broadcast-channels.

radudiaconu0 commented 4 years ago

ohh.......i cant find in the whole internet how can i fix this =(((

baka298 commented 3 years ago

is there a solution for Airlock/Sanctum ?