Hey As I understand it, the worker communicates wi...
# ask-community
n
Hey As I understand it, the worker communicates with the server (polls and update statuses of flows) using http requests to the prefect api (correct if I'm wrong). I am planing to put a reversed proxy on the prefect server to handle authentication, and I wonder if there a way to configure the worker to aquire token and add an auth header before sending requests to the server?
t
I am interested in this as well. For what it is worth, I think it is actually the case that the workers communicate with the main workflow process that started the flow, which then communicated to the prefect server over a rest-ful api. Not the workers to the server directly. This might simplify the problem