Skip to content

feat(wrangler): add artifacts:write to default OAuth scopes#13353

Merged
jamesopstad merged 2 commits intocloudflare:mainfrom
mattzcarey:feat/add-artifacts-oauth-scopes
Apr 10, 2026
Merged

feat(wrangler): add artifacts:write to default OAuth scopes#13353
jamesopstad merged 2 commits intocloudflare:mainfrom
mattzcarey:feat/add-artifacts-oauth-scopes

Conversation

@mattzcarey
Copy link
Copy Markdown
Contributor

@mattzcarey mattzcarey commented Apr 8, 2026

Add artifacts:write to Wrangler's default OAuth scopes so wrangler login requests access to Cloudflare Artifacts.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: config-only change adding a scope to an existing list — no user-facing docs needed

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 8, 2026

🦋 Changeset detected

Latest commit: 00c3994

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Apr 8, 2026
@workers-devprod workers-devprod requested review from a team and emily-shen and removed request for a team April 8, 2026 17:46
@workers-devprod
Copy link
Copy Markdown
Contributor

workers-devprod commented Apr 8, 2026

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 8, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@13353

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@13353

miniflare

npm i https://pkg.pr.new/miniflare@13353

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@13353

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@13353

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@13353

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@13353

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@13353

wrangler

npm i https://pkg.pr.new/wrangler@13353

commit: 00c3994

@mattzcarey mattzcarey force-pushed the feat/add-artifacts-oauth-scopes branch 2 times, most recently from 6f4a4a0 to 1d6fa15 Compare April 8, 2026 18:08
devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Copy Markdown
Contributor

@emily-shen emily-shen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test snapshot needs updating though

Add the artifacts:write OAuth scope to Wrangler's default login scopes,
enabling authenticated access to Cloudflare Artifacts (registries and
artifacts) after running `wrangler login`.

The corresponding Bach OAuth scope roles (artifacts:read and
artifacts:write) are already deployed to both staging and production.
@mattzcarey mattzcarey force-pushed the feat/add-artifacts-oauth-scopes branch from 1d6fa15 to 00c3994 Compare April 10, 2026 16:28
Copy link
Copy Markdown
Contributor

@workers-devprod workers-devprod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codeowners reviews satisfied

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Apr 10, 2026
@jamesopstad jamesopstad merged commit 5338bb6 into cloudflare:main Apr 10, 2026
58 of 60 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants