Cf-Access-Authenticated-User-Email header missing in Pages
Hi All,
I am working on a basic Remix Pages deployment, and hoping to use Cf-Access headers to obtain the authenticated users email address
However when I look at the headers the deployment receives it appears to be missing all Cf-Access headers, the requests do include the required cookies so unsure why its not getting the header passed through?
Thanks
1 Reply
Anyone got experience using Access with Workers/Pages?
So looks like Pages once again is just too different from Workers, and I may have to rebuild my Pages project into Workers for this to work 😦
I tested by adding a worker and route to sit infront of the pages site, and can now see the duplicated header "Company-User-Id" but interesting enough the Cf-Access-Authenticated-User-Email header is gone, even though the worker had just duplicated it...
https://developers.cloudflare.com/cloudflare-one/tutorials/access-workers/