firecamp-io / firecamp

VSCode for APIs, Postman Alternative.
https://firecamp.dev
317 stars 22 forks source link

socket.io v4 connection not passing auth value #184

Closed pranavwani closed 2 years ago

pranavwani commented 2 years ago

1. Describe the bug, what it is and what it should be (expected behavior)

In socket.io request, while working with client version v4 auth values not passing, which work fine with client version v3

2. To Reproduce

steps to reproduce the behavior:

  1. Open socket.io request
  2. Try to connect with auth value
  3. And check the auth value at the server side
    io.on("connection", (client) => {
    const { headers, query, auth } = client.handshake;

platform (please complete the following information):