Conversation
|
@abnoumaru is attempting to deploy a commit to the OpenStatus Team on Vercel. A member of the Team first needs to authorize it. |
claude.ai answers 403 to datacenter egress, so Claude Code's own client_id URL needs the same pinned fallback the web client already has.
abnoumaru
force-pushed
the
fix/pin-claude-code-client-metadata
branch
from
September 16, 2026 06:54
5dbc2b5 to
e4e2d9d
Compare
Contributor
Author
|
Every time a new client document is added, we would need to create a separate pinned entry for it. I realized that dealing with each one this way would just turn into an endless cycle. The root cause is that fetches from Fly's outbound network are being blocked, and this should be fixed by the static egress IPs mentioned in #2653 instead. I'm closing this. |
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.
Why
Authenticating the openstatus MCP server from Claude Code fails in the browser:
claude.ai serves a Cloudflare bot challenge to some datacenter egress (observed on Fly in #2653), which is what
KNOWN_CLIENT_DOCUMENTSexists for. That map only carries the Claude web client (mcp-oauth-client-metadata). Claude Code identifies itself with its own document (claude-code-client-metadata), so with nothing stored yet the 403 surfaces as-is.The new entry is what claude.ai serves at that path, reduced to the fields
ClientMetadataDocumentreads. The port-less loopbackredirect_urisare what claude.ai publishes;matchesRegisteredRedirectUrialready matches an ephemeral port against them.Tests
parseClientMetadataDocumentat runtime; each is now run through it so a hand-copied entry cannot skip the validation a fetched one gets.Note
Takes effect once
api.openstatus.devships it. The[oauth/cimd] ... responded with HTTP 403 (cf-mitigated=...)log line from #2653 should show the Claude Code URL in the Fly logs; I cannot see them, so a maintainer's confirmation would be welcome.