Hi team,
We're currently trying to use queues for api request fallbacks, so we've setup a queue workers project.
This worker, on fetch and queue consume, sends an API request to our server (which is covered by cloudflare), and if fails, then re-queues it (until configured retries)
Our problem is, we've got Cloudflare Zero Trust Access on our test server, and it's redirecting our queued requests in test environment to the Zero Trust Access login page. We've tried setting CF-Access-Client-Id and CF-Access-Client-Secret on the HTTP request to our server, but it appears to be getting stripped out at some point down the line (we believe that it's cloudflare doing this).
Any guidance on getting workers working together with Zero Trust Access?