dask / distributed

A distributed task scheduler for Dask
https://distributed.dask.org
BSD 3-Clause "New" or "Revised" License
1.58k stars 718 forks source link

Passing Header When Using Websockets #7760

Open jensentanlo opened 1 year ago

jensentanlo commented 1 year ago

In this issue, I see that Dask can operate on websockets: https://github.com/dask/distributed/pull/4396

When using websockets for Dask, is it possible to set the Sec-WebSocket-Protocol header in some way for auth purposes? I would like to use this as a way to pass a JWT (which will be checked by the auth proxy) before the websocket can connect with the scheduler.

hendrikmakait commented 1 year ago

Hi! Could you please repost this question in https://dask.discourse.group/? We try to keep the issue tracker for bug/features/etc. and use discourse for help around usage, etc.