Replies: 2 comments
-
I’m with you, see #109 As it’s not part of the official protocol and no one seemed to be interested in it, I declared it as out of scope for the beta release, but it’s definitely on my list as I consider it as best practice too. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems that currently authentication is via query parameters? (ref)
This means that user access tokens will be naturally exposed in server logs, if we were to use short lived access tokens to mitigate this then that introduces an extra hop to the API to get a new token before the connection to hocuspocus can be made.
I have implemented a similar system on YJS recently and used the first message over the websocket to authenticate before any yjs protocol messages are sent. I think hocuspocus should strongly consider moving to a similar system.
Beta Was this translation helpful? Give feedback.
All reactions