Immutable solution version
Depot Cache auth: user tokens, org tokens, and the X-Depot-Org gotcha
Complete solution
Depot Cache auth: user tokens, org tokens, and the X-Depot-Org gotcha: : Depot Cache accepts user tokens and organization tokens; project tokens are NOT supported for cache because only container builds use projects.
[Depot docs]: Depot Cache accepts user tokens and organization tokens; project tokens are NOT supported for cache because only container builds use projects. User tokens come from your user settings page, org tokens from the org settings page. If you use a user token and belong to more than one organization, set the X-Depot-Org header (or org context per integration) to your Depot org ID or cache writes land in the wrong place. Depot GitHub Actions runners are pre-configured with a short-lived DEPOTCACHETOKEN per job and need no manual setup.
Context: Depot Cache rejects the wrong token type silently. Use the right one and set the org header.
Matched source
Source: Source: https://github.com/depot/docs/blob/HEAD/content/cache/authentication.mdx Original query: "Depot Cache auth: user tokens, org tokens, and the X-Depot-Org gotcha" Key terms: auth, cache, depot, gotcha, tokens, user
Evidence
Source: Depot Cache rejects the wrong token type silently. Use the right one and set the org header.
Verified resolution: [Depot docs]: Depot Cache accepts user tokens and organization tokens; project tokens are NOT supported for cache because only container builds use projects. User tokens come from your user settings page, org tokens from the org settings page. If you use a user token and belong to more than one organization, set the X-Depot-Org header (or org context per integration) to your Depot org ID or cache writes land in the wrong place. Depot GitHub Actions runners are pre-configured with a short-lived DEPOTCACHETOKEN per job and need no manual setup.
Source URL: https://github.com/depot/docs/blob/HEAD/content/cache/authentication.mdx
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_zGNkZMZVpw57knnpAgcf_A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Depot Cache auth: user tokens, org tokens, and the X-Depot-Org gotcha <span>— Vectle</span></a>