[Workers] Document Access Service Auth setup for remote bindings - #31021
Merged
petebacondarwin merged 19 commits intoMay 22, 2026
Conversation
Contributor
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
Contributor
|
Review complete for PR #31021. Added labels: Posted a review with 4 inline suggestions:
I also flagged that the documentation style guide checklist in the PR description is still unchecked. |
Contributor
Co-authored-by: ask-bonk[bot] <249159057+ask-bonk[bot]@users.noreply.github.com>
Co-authored-by: ask-bonk[bot] <249159057+ask-bonk[bot]@users.noreply.github.com>
Co-authored-by: ask-bonk[bot] <249159057+ask-bonk[bot]@users.noreply.github.com>
Co-authored-by: ask-bonk[bot] <249159057+ask-bonk[bot]@users.noreply.github.com>
petebacondarwin
marked this pull request as ready for review
May 22, 2026 15:29
petebacondarwin
requested review from
a team,
GregBrimble,
MattieTK,
WalshyDev,
irvinebroque,
korinne and
mikenomitch
as code owners
May 22, 2026 15:29
emily-shen
reviewed
May 22, 2026
emily-shen
reviewed
May 22, 2026
Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
ascorbic
approved these changes
May 22, 2026
Contributor
|
Ah, approved before seeing the Devin style guide follow-ups |
….mdx Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
….mdx Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Expands the Wrangler remote bindings docs to document the full Cloudflare Access Service Auth setup required when running Wrangler against an Access-protected Worker. Previously the only guidance was a single bullet noting the
CLOUDFLARE_ACCESS_CLIENT_ID/CLOUDFLARE_ACCESS_CLIENT_SECRETenv vars exist, with no mention of the Access policy or service token setup needed for those vars to work.This change:
### Connecting to Access-protected Workerssubsection on the remote bindings page.<Steps>procedure covering: attaching a Service Auth policy to the existing Access application that protects the Worker's hostname, creating a service token, and exposing the credentials to Wrangler.CLOUDFLARE_ACCESS_CLIENT_ID/CLOUDFLARE_ACCESS_CLIENT_SECRETentries on the system environment variables page to the new subsection.Prompted by cloudflare/workers-sdk#14008, which fixes a bug where Wrangler ignored these env vars when the Access app was configured to only accept Service Auth tokens. With that fix in place, the documented service-token flow now works reliably against the configuration OpenNext recommends, so the full setup steps are worth documenting in our own docs rather than only on the OpenNext side.
Documentation checklist