dream-num / univer

Univer is an Isomorphic Full-Stack Framework for Creating and Editing Spreadsheets, Docs, and Slides Across Web and Server
https://univer.ai
Apache License 2.0
7.13k stars 628 forks source link

[Feature] Support custom header in websocket service #3305

Closed bulai0408 closed 2 months ago

bulai0408 commented 2 months ago

Initial checklist

Problem

Websocket service not support add custom header. I need it, thanks you all!

hexf00 commented 2 months ago

The browser has strict security checks, and the WebSocket implementation in the browser cannot carry custom headers. You can refer to WebSocket on MDN for more information. However, you can still use cookies to carry authentication information.