OpenInterpreter / 01

The #1 open-source voice interface for desktop, mobile, and ESP32 chips.
https://01.openinterpreter.com/
GNU Affero General Public License v3.0
4.92k stars 517 forks source link

Implement WebSocket Authentication on Client and Server #254

Closed Keyvanhardani closed 5 months ago

Keyvanhardani commented 5 months ago

This pull request adds authentication functionality for WebSocket connections on both the client and server sides. The changes ensure that only authorized clients can establish a connection with the server.

Note: Make sure to define the WS_TOKEN variable in the environment variable file (e.g., .env) on both the client and server sides. The token should match on both sides for successful authentication.