tminusdev
10/24/2025, 8:34 AMconnectedAccount object when we do this:
const connectedAccount = await composio.connectedAccounts.get(
input.connectionId
);
I'm currently mapping the GET_PROFILE_TOOL for each toolkit and using it to fetch connected account details, this adds extra complexity and not every toolkit has a tool to fetch profile data
I'm letting users connect multiple accounts to each toolkit and display the connected accounts in toolkit details
const connectionRequest =
await composio.connectedAccounts.initiate(
input.userId,
input.authConfigId,
{
callbackUrl: input.callbackUrl,
allowMultiple: true,
}
);
I only need some info like the identifier (email/username) and the avatar of the connected account, is there a better way to do this?Uday
10/24/2025, 9:36 AMconnectedAccounts.get() will give you the auth data not exactly the surface level data. We do not map user's profile data and it can only be accessed if any tool(endpoint) is available for the specific toolkit.tminusdev
10/24/2025, 11:08 AM