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
Since Socket IO v3 (SocketIO v3 Docs) there is an "auth" field in the handshake object. Authentication middleware on the server can use that field for authentication.
Is there any option to set that field on the initial request or any plans on implementing it?
I did not found any information or documentation on how to set that field.
I'm using the version 3.0.5 of this package.
handshake: {
headers: {
// [..] omitted for brevity
},
// [...] omitted for brevity
url: '/socket.io/?EIO=4&transport=websocket',
query: [Object: null prototype] { EIO: '4', transport: 'websocket' },
auth: {} // <-- talking about that one
}
The text was updated successfully, but these errors were encountered:
Since Socket IO v3 (SocketIO v3 Docs) there is an "auth" field in the handshake object. Authentication middleware on the server can use that field for authentication.
Is there any option to set that field on the initial request or any plans on implementing it?
I did not found any information or documentation on how to set that field.
I'm using the version 3.0.5 of this package.
The text was updated successfully, but these errors were encountered: