@devries-cameron20 / composio Mirror · read-only / commits / a69c2944b
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 05:45 UTC

docs: remove fictional managed auth config ID from direct execution example

Drop the Composio-managed example that used a fake "ac_composio_gmail_config" ID. Developers don't need it and would hit errors trying to use it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Sushmitha Mallesh committed Mar 3, 2026 at 18:30 UTC a69c2944b8e74e797de5ecd99bdbeede2ade1f33
1 file changed +6 -16
docs/content/docs/auth-configuration/white-labeling.mdx
+6 -16
@@ -82,7 +82,7 @@ Copy the auth config ID (e.g., `ac_1234abcd`).
82 <Step>
83 <StepTitle>Pass the auth config ID when initiating a connection</StepTitle>
84
85 -Use your custom auth config ID for white-labeled toolkits. For everything else, use a Composio-managed auth config ID:
85 +Pass your custom auth config ID when initiating a connection:
86
87 <Tabs groupId="language" items={['Python', 'TypeScript']} persist>
88 <Tab value="Python">
@@ -91,17 +91,12 @@ from composio import Composio
91
92 composio = Composio(api_key="your_api_key")
93
94 -# White-labeled: uses your OAuth app
94 +# White-labeled: users see your brand on the consent screen
95 github_conn = composio.connected_accounts.initiate(
96 user_id="user_123",
97 auth_config_id="ac_your_github_config",
98 )
99 -
100 -# Composio-managed: uses Composio's default OAuth app
101 -gmail_conn = composio.connected_accounts.initiate(
102 - user_id="user_123",
103 - auth_config_id="ac_composio_gmail_config",
104 -)
99 +print(f"Redirect to: {github_conn.redirect_url}")
100 ```
101 </Tab>
102 <Tab value="TypeScript">
@@ -109,22 +104,17 @@ gmail_conn = composio.connected_accounts.initiate(
104 import { Composio } from '@composio/core';
105 const composio = new Composio({ apiKey: 'your_api_key' });
106 // ---cut---
112 -// White-labeled: uses your OAuth app
107 +// White-labeled: users see your brand on the consent screen
108 const githubConn = await composio.connectedAccounts.initiate(
109 "user_123",
110 "ac_your_github_config",
111 );
117 -
118 -// Composio-managed: uses Composio's default OAuth app
119 -const gmailConn = await composio.connectedAccounts.initiate(
120 - "user_123",
121 - "ac_composio_gmail_config",
122 -);
112 +console.log("Redirect to:", githubConn.redirectUrl);
113 ```
114 </Tab>
115 </Tabs>
116
127 -Now when users connect GitHub, they'll see your app name on the consent screen. For Gmail, Composio's default app handles it.
117 +For toolkits you haven't white-labeled, use the auth config ID from **Authentication management** in your dashboard.
118 </Step>
119 </Steps>
120