Worker Queue Sending Through Cloudflare Access

Hi there,

We are having issues with a worker queue attempting to send through a CF Access protected endpoint. We have created a service token and are sending the appropriate headers CF-Access-Client-Id and CF-Access-Client-Secret through. I have confirmed our CF access configuration is correct as the behaviour works outside of a worker queue. However, inside the queue we are receiving a redirect to our AD login page. It appears these headers are being ignored/removed inside the scope of a worker queue request.

This means that the worker queue is entirely useless and will never succeed. What can we do to get this working?

Kind regards,

1 Like