anomalyco / anomalyco/opencode
[BUG] Atlassian MCP OAuth fails after browser approval in 1.18.25
@nexxeln is already working on this.
Since Aug 28, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
On 1.18.25, Atlassian MCP OAuth fails after successful browser authorization. The browser reports success, but opencode mcp auth atlassian ends with:
Authentication failed
SSE error: Non-200 status code (202)
Downgrading to 1.18.24 and repeating the same flow succeeds. The behavior appears to be a regression in 1.18.25.
The authorization URL generated by each version is materially different:
1.18.25directs the browser tohttps://mcp.atlassian.com/v1/authorize.1.18.24directs the browser tohttps://auth.atlassian.com/authorizeand includes the requested OAuth scopes and resource indicator.
The 1.18.25 browser flow reports authorization success but the CLI then fails with the 202 SSE error. The 1.18.24 flow reports Authentication successful! in the CLI.
Plugins
None
OpenCode version
1.18.25
Steps to reproduce
-
Configure Atlassian as a remote MCP server:
{ "mcp": { "atlassian": { "type": "remote", "url": "https://mcp.atlassian.com/v1/mcp/authv2", "enabled": true } } } -
Run
opencode mcp auth atlassian. -
Select
Yeswhen asked to re-authenticate. -
Complete Atlassian authorization in the browser. The browser displays "Authorization successful!"
-
Return to the CLI.
Expected behavior
The CLI should report Authentication successful! and connect the Atlassian MCP server.
Actual behavior
The CLI reports Authentication failed with SSE error: Non-200 status code (202).
Additional confirmation
After downgrading with opencode upgrade 1.18.24, running the exact same configuration and authentication flow succeeds.
Screenshot and/or share link
No response
Operating System
Linux 6.6.87.2-microsoft-standard-WSL2
Terminal
Windows Terminal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.