mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-23 18:14:53 +02:00
Problem: Our code sent http://localhost:20128/api/oauth/claude/callback as redirect_uri, but Anthropic only accepts http://localhost:PORT/callback. Fix: For authorization_code providers (Claude, Codex, Gemini), open 9Router's own dashboard page instead of trying to proxy the OAuth flow. 9Router handles the full popup + callback internally. Flow: Click Connect → opens 9Router dashboard → user clicks Connect there → OAuth popup → callback handled → poll from OpenSwarm until connected. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>