Skip to content

Conversation

@rderewianko
Copy link
Contributor

@rderewianko rderewianko commented Nov 13, 2024

Summary

When using a service token, CloudFlare Zero Trust formats the token to include
CF-Access-Client-Id:
CF-Access-Client-Secret:

If you directly paste these into a Cloudflare Warp mdm.xml it will fail as a invalid token.

I've added a bit of clarity to this to describe what the value expects.

Screenshots (optional)

Documentation checklist

When using a service token, CloudFlare Zero Trust formats the token to include 
`CF-Access-Client-Id: `
`CF-Access-Client-Secret: `

If you directly paste these into cloudflare warp on a mdm.xml it will fail as a invalid token.

I've added a bit of clarity to this to describe what the value expects.
@rderewianko rderewianko requested review from a team, dh-cf, kkrum and ranbel as code owners November 13, 2024 20:27
@rderewianko rderewianko changed the title Update parameters.mdx [ZT] - Give More information into how to format tokens Nov 13, 2024
@ranbel
Copy link
Contributor

ranbel commented Nov 18, 2024

Thanks for the suggestion! I swapped the notes for a concrete example. CF-Access-Client-Id: and CF-Access-Client-Secret: don't appear if you create the token using the API/Terraform.

@ranbel ranbel enabled auto-merge (squash) November 18, 2024 21:21
@rderewianko
Copy link
Contributor Author

rderewianko commented Nov 18, 2024

Great thank you!

I'd suspect most Endpoint engineers aren't using terraform/api to get the token when they're first starting a deployment.

@ranbel ranbel merged commit 73d2507 into cloudflare:production Nov 18, 2024
6 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Nov 18, 2024
@holopin-bot
Copy link

holopin-bot bot commented Nov 18, 2024

Congratulations @rderewianko, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm3njgrfe89000cmhfk4yfqcz

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

@rderewianko rderewianko deleted the patch-4 branch November 18, 2024 22:53
harshil1712 pushed a commit that referenced this pull request Dec 3, 2024
* Update parameters.mdx

When using a service token, CloudFlare Zero Trust formats the token to include 
`CF-Access-Client-Id: `
`CF-Access-Client-Secret: `

If you directly paste these into cloudflare warp on a mdm.xml it will fail as a invalid token.

I've added a bit of clarity to this to describe what the value expects.

* add example values

* fix indentation

---------

Co-authored-by: ranbel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small product:cloudflare-one size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants