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?
albert
April 29, 2023, 5:45pm
4
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
system
Closed
May 3, 2023, 9:02am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.