Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

[Feature] Add WebSocket Token/Basic Authentication #1711

Open
astubenbord opened this issue Jun 9, 2022 · 0 comments
Open

[Feature] Add WebSocket Token/Basic Authentication #1711

astubenbord opened this issue Jun 9, 2022 · 0 comments

Comments

@astubenbord
Copy link

astubenbord commented Jun 9, 2022

Hi, currently, the only way to authenticate a WebSocket connection is to send the sessionid cookie to the server.

As far as I've seen token or basic authentication is not possible.

I'm currently writing an app and I'm trying to visualize the consumer status on document upload to allow the user to directly edit the previously uploaded document once consumption has finished. I would like to do this without using "ugly" long-polling to the
endpoint /api/documents/?query={{filename}} until the document has been consumed and the result is not empty.

Do you think this is something that could be implemented without sacrificing security?

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant