-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move auth token from cookies to Sec-WebSocket-Protocol header
This change improves security by: 1. Moving auth token from cookies to Sec-WebSocket-Protocol header 2. Using standard WebSocket protocol features for auth 3. Removing token exposure in URLs 4. Only transmitting token during initial handshake
- Loading branch information
1 parent
55ec895
commit b0b9a58
Showing
2 changed files
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters