Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(cli): use manual authorization copy on link --no-wait paths

Sarah Simionescuba999577d7dd
diff --git a/ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts b/ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts
index 89dd85024..891d0467b 100644
--- a/ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts
+++ b/ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts
@@ -590,7 +590,7 @@ const handleLegacyAuthConfigLink = (params: {
if (!canContinue) return;
if (params.noWait) {
- yield* showRedirectUrl(params.ui, redirectUrl);
+ yield* showRedirectUrl(params.ui, redirectUrl, { manual: true });
yield* params.ui.output(
JSON.stringify(
{
@@ -796,7 +796,7 @@ const runConnectedAccountsLink = (params: {
if (!canContinue) return;
if (params.noWait) {
- yield* showRedirectUrl(ui, redirectUrl);
+ yield* showRedirectUrl(ui, redirectUrl, { manual: true });
yield* ui.output(
JSON.stringify(
{