GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — MCP OAuth cannot use public proxy redirect URLs with a local callback listener · Issue #31014 · anomalyco/opencode Closed as not planned Closed as not planned Copy link DescriptionWhat happened?OpenCode MCP OAuth currently uses
That works for normal localhost flows, but breaks remote or containerized environments where the browser can only reach OpenCode through a public proxy URL that forwards back to the local OpenCode process. For example, OpenCode may run inside a JupyterHub user server or another proxied container environment. The OAuth provider needs to redirect the browser to a public URL like: That public URL then forwards to the local callback listener: With the current behavior, setting the public HTTPS URL as What did you expect to happen?OpenCode should be able to advertise a public/proxied OAuth For example: {
"mcp": {
"slack": {
"type": "remote",
"url": "https://mcp.slack.com/mcp",
"oauth": {
"redirectUri": "https://example.com/hub/user-redirect/proxy/19876/mcp/oauth/callback",
"callbackPort": 19876,
"callbackPath": "/mcp/oauth/callback"
}
}
}
}The provider should see the public How can we reproduce it?
Additional contextThis is related to earlier MCP OAuth redirect URI issues like #7377, #18955, and #23787, but the missing piece is separating the provider-facing redirect URI from the local callback listener configuration. I have a PR that fixes this by keeping Reacted by juk-stata Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |