Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
chore: modify authentication snippet
[email protected]8c662002705f
diff --git a/fern/docs.yml b/fern/docs.ymlindex 8948b8bb8..103fca0f3 100644--- a/fern/docs.yml+++ b/fern/docs.yml@@ -23,15 +23,11 @@ typography:paths:- path: assets/Inter-Medium.woff2weight: '500'- # - path: assets/Roobert-Regular.woff2- # weight: '400'headingsFont:name: Interpaths:- path: assets/Inter-Medium.woff2weight: '500'- # - path: assets/Roobert-Regular.woff2- # weight: '400'codeFont:name: IBM Plex Monopaths:diff --git a/fern/snippets/tool-calling/python/auth-tools.py b/fern/snippets/tool-calling/python/auth-tools.pyindex 027d9f6cf..da2f3661e 100644--- a/fern/snippets/tool-calling/python/auth-tools.py+++ b/fern/snippets/tool-calling/python/auth-tools.py@@ -7,7 +7,7 @@ composio = Composio()# Create a new connected accountconnection_request = composio.connected_accounts.initiate(- user_id=user_id, auth_config_id=linear_auth_config_id, config=auth_scheme.oauth2()+ user_id=user_id, auth_config_id=linear_auth_config_id, config={"auth_scheme": "OAUTH2"})print(connection_request.redirect_url)