[Cloudflare One] Fix MCP portal default OAuth callback URL#31701
Open
kennyj42 wants to merge 2 commits into
Open
[Cloudflare One] Fix MCP portal default OAuth callback URL#31701kennyj42 wants to merge 2 commits into
kennyj42 wants to merge 2 commits into
Conversation
The portal uses the per-portal hostname (https://<portal>/servers-callback) by default. The shared Cloudflare callback URL (https://oauth-callbacks.cloudflareaccess.com/cdn-cgi/access/outbound-oauth-callback) is only used when explicitly enabled on the portal. Update the docs to match the actual flow.
Contributor
Review✅ No issues found in commit Code ReviewThis code review is in beta and may not always be helpful — use your judgment. ✅ No code review issues found. Style Guide Review✅ No style-guide issues found. CommandsOnly codeowners can run commands. Post a comment with the command to trigger it.
|
Use 'turned on' instead of 'enabled' for toggle language per style guide.
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.
What this PR changes
Fixes the documented default upstream OAuth callback URL for MCP server portals. The current docs claim newly created MCP servers use a shared Cloudflare-owned callback URL by default, but the actual behavior is that the portal uses the per-portal hostname (
https://<portal-hostname>/servers-callback) by default, and only switches to the shared URL (https://oauth-callbacks.cloudflareaccess.com/cdn-cgi/access/outbound-oauth-callback) when the shared callback flag is explicitly enabled on the portal.What's in the PR
### Upstream OAuth callback URLsection to lead with the per-portal default#### Shared Cloudflare callback URL (opt-in)subsection