Connecting to private channel does not work! #22
-
The new laravel wave js improvements work perfectly! thank you very much for the support! #Pull 10 Laravel Wave JS @slavarazum When Broadcast::auth() is used, the logged in user will always be null!! this happens because the bearer token is not sent in the route header /wave. As it is not allowed to send header in EventSource , there are other possibilities to send the token! one of them is to send in the url itself!! /wave?token= ..... I've tried using withCredentials but it doesn't work either! I sent in some pull requests for a review! #21 Add middleware to header auth (Laravel Wave) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Looks like
Starting migrate to @microsoft/fetch-event-source. So, all Request options will be available. |
Beta Was this translation helpful? Give feedback.
Looks like
EventSource
,WebSocket
andXmlHttpRequest
APIs are considered as legacy.fetch
is our new hero.Starting migrate to @microsoft/fetch-event-source. So, all Request options will be available.