@devries-cameron20 / composio Mirror · read-only / commits / 2c5dfffe6
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 18:15 UTC

redirect uri

Sushmithamallesh committed Nov 6, 2025 at 14:04 UTC 2c5dfffe6e4b30cfab90205bbbeda82a86c79981
1 file changed +6
fern/pages/src/authentication/programmatic-auth-configs.mdx
+6
@@ -69,6 +69,7 @@ auth_config = composio.auth_configs.create(
69 "credentials": {
70 "client_id": "1234567890",
71 "client_secret": "1234567890",
72 + "oauth_redirect_uri": "https://backend.composio.dev/api/v3/toolkits/auth/callback",
73 },
74 },
75 )
@@ -81,6 +82,7 @@ const authConfig = await composio.authConfigs.create("NOTION", {
82 credentials: {
83 client_id: "1234567890",
84 client_secret: "1234567890",
85 + oauth_redirect_uri: "https://backend.composio.dev/api/v3/toolkits/auth/callback",
86 },
87 authScheme: "OAUTH2",
88 });
@@ -89,6 +91,10 @@ console.log(authConfig);
91 ```
92 </CodeGroup>
93
94 +<Note>
95 +You can specify a custom redirect URI by including the `oauth_redirect_uri` parameter in the credentials object. If not provided, Composio uses the default redirect URI.
96 +</Note>
97 +
98 **Specifying the authorized redirect URI**
99 The process of setting up your own OAuth2 credentials usually involves generating a client ID and secret and specifying the **authorized redirect URI** in the OAuth configuration.
100