Is auth
option secure?
#4627
-
Hi,
I'm trying to understand if this option is secure over a HTTPS connection, so the credentials are not encoded neither in a querystring nor other unsafe places but they are encrypted over a secure connection. |
Beta Was this translation helpful? Give feedback.
Answered by
darrachequesne
Feb 13, 2023
Replies: 1 comment 3 replies
-
Hi! The
Format: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
The
auth
option is sent during the handshake, in a CONNECT packet:Format:
<Engine.IO MESSAGE packet type><Socket.IO CONNECT packet type><JSON.stringified auth>
Example:
40{"token":"abc"}
Reference: https://github.com/socketio/socket.io-protocol