#Connecting toolkits
1 messages · Page 1 of 1 (latest)
There's no documentation? I was asking if you guys support it? or could add support for that? as how do I always make it ask them for consent when they disconnect and try to re-connect a toolkit?
Yes, whenever you attempt to re-initiate a connection, you’ll receive a redirectUrl as a response. Users must complete the Auth Flow to connect their accounts.
You can refer to this Documentation or use this API endpoint: https://docs.composio.dev/api-reference/connected-accounts/post-connected-accounts-by-nanoid-refresh
Also, if you are looking for initiating a connection if the user deletes the old conn, you can refer to this Documentation.
i have the logic built, I am simply asking how can I always make the user be given the consent screen? I am not asking about a redirect url at all, but how to customize your flow in order to support the consent screen.
I've built it to disconnect accounts already, but you guys cache it on your end meaning the user won't be given the screen again, unless you are saying when the toolkit is disconnected, I have to refresh their account which would cause the authorization url they are sent to be a new one asking for what permissions?
Sone of your integrations already do this automatically but the rest don't.
If you’re referring to Access Token refreshing, could you specify the Toolkit you’re facing an issue with? Also, users won’t be redirected to the same consent screen unless the connection is refreshed because redirect URLs are short-lived.
No, not the same consent screen but if I connect a toolkit, yes it generates the url but it automatically brings me to the connected section even though it was disconnected prior, no consent screen?
like the window automatically goes to You can close this window but doesn't let the user be prompted the oauth configuration?
I'm simply asking can you cause the user to always be prompted the toolkit's consent screens? a lot of other services can do this aside from Composio?
ex. if I connect GitHub for the first time in a new account, it'll prompt the user to select what organizations.
if I disconnect that GitHub account from their account, and reconnect, it automatically re-connects and they are not prompted the consent screen any longer.
We do not store User's connection details post deletion, the user needs to initiate fresh connection where they will be redirect to consent screen. It is not secure to store the connection details post deletion. However, you can achieve this functionality by Disabling the connection instead of deletion and Enabling when required.
Let me know if this is something you are looking for?
A lot of toolkits do not bring up the consent screen following up past the first connection they do with those toolkits.
ex. GitHub for me, even when opened in a window, will always not bring up the consent screen after the initial setup.
Could you share a screen recording of the Auth flow? It could happen when a single account is logged into the browser.
i figured it out but how can I fix The supportsAllDrives parameter was not set to true.?