fix(composio): migrate managed OAuth connections to Connect Links - #837
Open
Rahulk644 wants to merge 4 commits into
Open
fix(composio): migrate managed OAuth connections to Connect Links#837Rahulk644 wants to merge 4 commits into
Rahulk644 wants to merge 4 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
POST /connected_accountsendpoint toPOST /connected_accounts/linkconnected_account_idandredirect_urlresponse fields in the Electron connection flow201responseProblem
Connecting managed OAuth toolkits such as YouTube or LinkedIn currently fails with HTTP 400. Composio retired the legacy endpoint for all managed OAuth organizations on July 3, 2026 and now returns:
The migration is documented here:
Compatibility
The existing
createConnectedAccount()client remains available for custom auth configs and non-OAuth schemes, which Composio states are not affected by the retirement. Only Rowboat's managed OAuth2 path moves to Connect Links.The existing localhost callback server, account persistence, status polling, timeout cleanup, and post-connect sync behavior remain unchanged.
Verification
pnpm --filter @x/core exec vitest run src/composio/client.test.tsenv ROWBOAT_WORKDIR=/private/tmp/rowboat-composio-core-tests pnpm --filter @x/core test— 54 files / 587 tests passedpnpm --filter @x/core typecheckpnpm --filter @x/core buildpnpm --filter rowboat build— Electron main bundle completedThe local Electron build also reported an unrelated Swift SDK/toolchain mismatch for the optional mic-monitor helper; the TypeScript build and main-process bundle completed successfully.