CF_Authorization not working

Hi All

I followed: Service tokens · Cloudflare Zero Trust docs

I make an initial request to my self-hosted webapi through tunnels and I get back the CF_Authorization=xxxxxx in the header response.

I then make a curl request using : curl -H “cookie: CF_Authorization=<CF_AUTHORIZATION_COOKIE>” https://app.example.com

But I get a 401 unauthorized. Am I missing something ?

I was getting a 403. I needed to add another policy in addition to the “service auth” policy

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.