feat: add Instagram connector support
Merged
RE
7mo ago+21+21+01234567890123456789-12-12-01234567890123456789
Summary
- Add
"instagram"toSUPPORTED_TOOLKITSandALLOWED_ARTIST_CONNECTORS - Add
COMPOSIO_INSTAGRAM_AUTH_CONFIG_IDauth config for Instagram OAuth - Fix authConfigs bug: moved auth config construction above both return paths so custom OAuth configs apply regardless of
account_idpresence - Part of REC-49: Add Instagram Connector (Artist-Level)
Test plan
- Set
COMPOSIO_INSTAGRAM_AUTH_CONFIG_IDin env - Verify
GET /api/connectorsreturns Instagram in artist connector list - Verify
POST /api/connectors/authorizewithconnector: "instagram"includes auth config - Verify TikTok connector still works (regression)
š¤ Generated with Claude Code
Summary by cubic
Add an artist-level Instagram connector with custom OAuth, and apply authConfigs with or without account_id (REC-49).
-
New Features
- Added "instagram" to
SUPPORTED_TOOLKITSandALLOWED_ARTIST_CONNECTORS. - Enabled Instagram OAuth via
COMPOSIO_INSTAGRAM_AUTH_CONFIG_ID.
- Added "instagram" to
-
Bug Fixes
- Built
authConfigsbefore all return paths so custom OAuth applies regardless ofaccount_id; updated tests to include Instagram.
- Built
Summary by CodeRabbit
-
New Features
- Instagram connector is now available in the Composio toolkit library for creating and managing sessions
- Instagram is now supported and recognized as an allowed artist connector
-
Improvements
- Enhanced OAuth authentication configuration handling for custom OAuth providers to ensure proper support for Instagram, TikTok, and other platforms