Skip to content

Add oauth_resource handling for MCP login flows#12866

Merged
etraut-openai merged 2 commits intomainfrom
etraut/oauth_resource_param
Feb 27, 2026
Merged

Add oauth_resource handling for MCP login flows#12866
etraut-openai merged 2 commits intomainfrom
etraut/oauth_resource_param

Conversation

@etraut-openai
Copy link
Collaborator

@etraut-openai etraut-openai commented Feb 26, 2026

Addresses bug #12589

Builds on community PR #12763.

This adds oauth_resource support for MCP streamable_http servers and
wires it through the relevant config and login paths. It fixes the bug
where the configured OAuth resource was not reliably included in the
authorization request, causing MCP login to omit the expected
resource parameter.

@etraut-openai
Copy link
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. What shall we delve into next?

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@etraut-openai
Copy link
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. You're on a roll.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@etraut-openai etraut-openai merged commit cee009d into main Feb 27, 2026
53 of 55 checks passed
@etraut-openai etraut-openai deleted the etraut/oauth_resource_param branch February 27, 2026 04:10
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants