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: ENG-4875
angrybayblade committed
Jun 20, 2025 at 12:43 UTC
d4c642b33fe1a0370ea73da1e65a73569b18a9a3
1 file changed
+3
python/composio/core/models/connected_accounts.py
+3
@@ -324,6 +324,7 @@ class ConnectedAccounts:
324
user_id: str,
325
auth_config_id: str,
326
*,
327
+ callback_url: t.Optional[str] = None,
328
config: t.Optional[connected_account_create_params.ConnectionState] = None,
329
) -> ConnectionRequest:
330
"""
@@ -335,6 +336,7 @@ class ConnectedAccounts:
336
337
:param user_id: The user ID to create the connected account for.
338
:param auth_config_id: The auth config ID to create the connected account for.
339
+ :param callback_url: Callback URL to use for OAuth apps.
340
:param options: The options to create the connected account with.
341
:return: The connection request.
342
"""
@@ -345,6 +347,7 @@ class ConnectedAccounts:
347
{
348
"user_id": user_id,
349
"state": config,
350
+ "callback_url": callback_url,
351
},
352
),
353
)