Skip to content

fix(mcp): pin streamable HTTP redirects to same-origin - #1481

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-10758-mcp-redirect-pin
Oct 17, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-10758-mcp-redirect-pin

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Part of CL-10758

Pin redirectPolicy so OAuth discovery and token traffic cannot follow
a cross-origin redirect if the SDK default changes.
@linear-code

linear-code Bot commented Oct 17, 2026

Copy link
Copy Markdown

CL-10758

@corbits-triage

corbits-triage Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Review · Approve

Streamable HTTP sets redirectPolicy to same-origin. On SDK 1.32.1 that matches the unset policy, which only follows when the policy is follow.

No findings.

@TheGreatAxios
TheGreatAxios merged commit 3293edd into main Oct 17, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant