Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket Authentication on Client and Server #255

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Keyvanhardani
Copy link

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.

Remove the temporary directory and its contents to free up disk space
Add authentication for WebSocket connections.
OAuth2PasswordBearer scheme from FastAPI security
Add authentication for WebSocket connection in Device class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant