You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks!
(Any non-English issues will be closed immediately.)
Please provide your PHP and Swoole version. (php -v and php --ri swoole)
Please provide your Laravel/Lumen version.
Which release version of this package are you using?
Software
Version
PHP
8.0.8
Swoole
4.7.0
Laravel
8.51.0
laravel-swoole
2.8
What did you do? If possible, provide a recipe for reproducing the error.
interesting, after reading the wiki and finding out that there is a middleware for sockets to authenticate a user, I have no clue how to authenticate a user while establishing a socket connection. I would be happy if the author could show us an example that demonstrates what the client has to do.
Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks!
(Any non-English issues will be closed immediately.)
php -v
andphp --ri swoole
)config/swoole_http.php
config/swoole_websocket.php
Socket.io-Client v3
routes/websocket.php
I am also using Laravel Sanctum.
What did you expect to see?
The authenticated user object
What did you see instead?
Null
How can i achieve, getting the correct user?
The text was updated successfully, but these errors were encountered: