yjs / y-websocket

Websocket Connector for Yjs
https://docs.yjs.dev/ecosystem/connection-provider/y-websocket
MIT License
497 stars 256 forks source link

Adds support for passing Authentication Credentials & Query Params via CALLBACK_URL #131

Open Sonictherocketman opened 1 year ago

Sonictherocketman commented 1 year ago

This change allows for a server to contain both query params and optional HTTP Basic Auth credentials.

Currently no mechanism exists for a CALLBACK_URL to contain an authentication token either in the query string or as basic auth. A lack of such mechanism limits the utility of the CALLBACK_URL over unsecured networks or multi-node setups.