imtauseef0639_03672
08/02/2025, 2:31 PMhttps://app.affint.ai/integration/redirect?code=9163106406243.9280040381351.28602e78cc05d60de70a7e076e770aef382c03af4fc1f4cb8386b4ef6d282a05&state=production_ID%3AXeaBau7aMZ-D_apollo
I've already pointed the redirect (app.affint.ai) to:
https://backend.composio.dev/api/v1/auth-apps/add
Can you help me understand how to exchange the code for an access token in this flow? I'm not sure if I'm missing a step or need to call a specific endpoint.
Thanks in advance! 🙏Composio Support Agent
08/02/2025, 2:45 PMhttps://backend.composio.dev/api/v1/auth-apps/add internally. After redirection, you should be able to complete the Auth flow, which will create a connection. You can now use this connected account to execute Tool calls. Let me know if this answers your query or if you are facing any Issues.imtauseef0639_03672
08/02/2025, 2:50 PMComposio Support Agent
08/02/2025, 2:51 PMimtauseef0639_03672
08/02/2025, 2:52 PMComposio Support Agent
08/02/2025, 2:54 PMimtauseef0639_03672
08/02/2025, 2:56 PMimtauseef0639_03672
08/02/2025, 3:03 PMimtauseef0639_03672
08/02/2025, 3:03 PMComposio Support Agent
08/02/2025, 3:09 PMComposio Support Agent
08/02/2025, 3:11 PMimtauseef0639_03672
08/02/2025, 3:12 PMimtauseef0639_03672
08/02/2025, 3:12 PMimtauseef0639_03672
08/02/2025, 3:13 PMComposio Support Agent
08/02/2025, 3:17 PMimtauseef0639_03672
08/02/2025, 3:23 PMimtauseef0639_03672
08/02/2025, 3:24 PMComposio Support Agent
08/02/2025, 3:47 PMimtauseef0639_03672
08/02/2025, 6:33 PMComposio Support Agent
08/02/2025, 6:34 PMimtauseef0639_03672
08/02/2025, 6:45 PMComposio Support Agent
08/03/2025, 9:07 AMimport requests
def unshorten_url(short_url):
response = requests.head(short_url, allow_redirects=True)
return response.url
# Example usage:
print(unshorten_url('https://backend.composio.dev/api/v3/s/xxxxx'))imtauseef0639_03672
08/03/2025, 12:24 PM