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: add authentication to yjs server #428

Merged
merged 2 commits into from
Aug 4, 2023
Merged

Conversation

lihebi
Copy link
Collaborator

@lihebi lihebi commented Aug 4, 2023

  1. Front-end sends the user token with the Yjs WebSocket request.
  2. Yjs-server validates that the user has read or write access before connecting the WebSocket. This PR also handles read/write access differently at Yjs level.

@lihebi lihebi merged commit 9336551 into codepod-io:main Aug 4, 2023
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.

1 participant