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

Implement basic Websocket authentication #8

Open
128keaton opened this issue Dec 13, 2023 · 0 comments
Open

Implement basic Websocket authentication #8

128keaton opened this issue Dec 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@128keaton
Copy link
Owner

128keaton commented Dec 13, 2023

The WS authentication handler needs to be able to handle authentication from gateway clients and from web UI clients.

To do this, if the socket can be associated with a gatewayID, we will disconnect/disallow any clients connecting with an invalid gatewayID or a gatewayID we do not know about. Otherwise, we can use the auth property and pass the current user's JWT token in the Websocket connection. Just depends on #7

@128keaton 128keaton self-assigned this Dec 13, 2023
@128keaton 128keaton added the enhancement New feature or request label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant