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

feat(websocket): add authentication to websocket connection #345

Merged
merged 2 commits into from
Sep 24, 2021

Commits on Sep 24, 2021

  1. fix(*): eslint warnings

    ramfox committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    1577f96 View commit details
    Browse the repository at this point in the history
  2. feat(websocket): add authentication handshake to websocket connection

    If we are already logged in, or have just successfully logged in, we need to authenticate our connection. This will let the backend know that it should send the events associated with the current session's profileID over the websocket connection.
    
    If we ever logout, we need to unsubscribe to this connection.
    ramfox committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    481f0a7 View commit details
    Browse the repository at this point in the history