How to ensure Worker can always access resources from domain protected via Cloudflare Access?
Hi all,
I have a worker that is passing part of the traffic to the domain that is protected via Cloudflare Access.
It seems that part of the traffic is receiving 302 response code from Cloudflare Access, while when I am in Cloudflare WARP it is always 200.
We've followed https://developers.cloudflare.com/cloudflare-one/tutorials/access-workers/ but for some reason it does not work.
Is 'company-user-id' a generic header that is supposed to be handled by Cloudflare Access, or is there actually a need to manually handle this scenario?
(We've tried dedicated policy, but it seems not to work properly as well)
I will appreciate any help / direction in the matter, thank you in advance.
Cloudflare Docs
Create custom headers for Cloudflare Access-protected origins with ...
This tutorial covers how to use a Cloudflare Worker to add custom HTTP headers to traffic, and how to send those custom headers to your origin services protected by Cloudflare Access.
0 Replies