Noob Question..Service Token Headers

Hi, sorry for what is probably a stupid question but what is the format for adding service token headers to url?

CF-Access-Client-Id: <Client ID>

CF-Access-Client-Secret: <Client Secret>

Something like https://&CF-Access-Client-Id=12345&CF-Access-Client-Secret=12345

Thanks

Or does it not work like that?

Cloudflare Access Service Tokens need to be added as headers in your HTTP request, not as part of the URL. You can use a tool like curl to make a request with the specified headers:

curl https://example.com \
    -H "CF-Access-Client-Id: <Client ID>" \
    -H "CF-Access-Client-Secret: <Client Secret>" 

Replace <Client ID>, <Client Secret>, and example.com with your actual values.

1 Like

Thanks for the info.

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