socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Include Client application domain cookie in request header of Socket connection

Open HegdeSach opened this issue 7 years ago • 1 comments

In my application once the user is successfully authenticated, client side browser is set with proper cookie value (JWT Token). How can I send that cookie as Request header during Socket Connection process so that server side code should be able to identify the sender of connection request.

Any configuration available in Socket IO so that browser picks the cookie available and include it in request header like below, image

HegdeSach avatar Feb 12 '19 17:02 HegdeSach

@HegdeSach I have the same problem with you.Could you tell me how did you solve it because I saw you have closed the issue ?

JayEdver avatar Dec 02 '19 08:12 JayEdver