#composio.connectedAccounts.refresh doesn't support the callbackUrl param

9 messages · Page 1 of 1 (latest)

tribal kraken
#

Hi,
The composio.connectedAccounts.refresh doesn't support the callbackUrl param, so my users are not redirecting back into my app.

I also npm installed the latest version of ⁨@north timber⁩/core, and pass:

const connectedAccount = await composio.connectedAccounts.refresh(id, {
redirectUrl: backToAppUrl,
});
const url = new URL(connectedAccount.redirect_url);
redirect(url.toString());

And still it didn't redirect back to my app...

For example: composio.connectedAccounts.initiate does supports the callbackUrl param.

I saw this commit from 3 weeks ago that added the above redirectUrl param which not redirect me back to my app:
https://github.com/ComposioHQ/composio/commit/99e10a99cbcfaff89571bc1365ea18fc436e857c#diff-662ad55bc7d930abfa1be17052850798580acc001f50268c48a032686b5ea39d

visual field
tribal kraken
#

Thanks @visual field

tribal kraken
#

@visual field can you please update once the fix is delivered?

verbal flumeBOT
#

Yup, will do.

tribal kraken
#

Hi @visual field is there any update?

dawn reef
#

Hey @tribal kraken, this is a bigger change than anticipated, and the team is working on the fix.

tribal kraken
#

Great! thanks for the update

dawn reef
#

Hey @tribal kraken, we've fixed the issue. Could you try upgrading your SDK package and lmk?

Snippet for ref:

connectedAccounts.refresh("ca_xxxx",{redirectUrl: "https://www.google.com"})