Production readiness

Managed vs custom auth

Composio supports two ways to authenticate users with toolkits.

  • Composio-managed apps: Composio registers and maintains OAuth apps for popular toolkits such as GitHub, Gmail, and Slack. You don't register an OAuth app.
  • Custom auth configs: You provide your own OAuth app, API key, bearer token, or other credentials and tell Composio to use them for a toolkit.

A Composio-managed app works in production. Its OAuth app is shared with other Composio customers, so you may run into shared provider rate limits as your usage grows. When you're ready for higher volume, we recommend your own OAuth app.

Slack has two managed apps with different rate limits and triggers. See Slack managed apps to pick one.

Throughout this page, "app" means the OAuth app you or Composio register with the provider, not an App in the toolkit catalog.

Both options use Composio to store and refresh connected-account credentials. Choosing your own OAuth app changes app ownership, branding, scopes, and provider quota, not token custody.

What a managed app gives you

  • No app registration. You skip the provider's developer portal, client credentials, redirect URIs, and app review.
  • A fast start. Create a session and connect a test account right away. Composio requests a default set of scopes for each toolkit.

You can still white-label the Connect Link page with your logo and app title on a managed app.

What changes with your own app

  • Dedicated provider rate limits. Some provider limits apply per OAuth app. On a managed app, connections share them with other Composio customers. Your own app has its own. See Avoid and recover from rate limits and provider quota errors.
  • Your name on the consent screen. Users see your app name when they approve access.
  • Your own scopes. You can adjust scopes on a managed config, but only within what Composio's app is set up to request. A scope outside that set needs your own app.

When your own app makes sense

If you expect high volume, we suggest setting up your own app early. Managed connections keep working until you move them, and users reconnect once when you do, so an earlier move means fewer people to reconnect. Your own app also makes sense when any of these apply:

  • You need your app name on OAuth consent screens. Your product or your enterprise customers require your branding end to end.
  • You need custom scopes. Composio's scopes may not include everything you need, for example write access to a specific Google API.
  • You're hitting provider rate limits. Your own app stops sharing quota with other Composio customers.
  • You need faster polling triggers.
  • You're connecting to a custom instance. Self-hosted or regional variants, such as a private Salesforce subdomain, need their own OAuth app.

Some toolkits have no managed app at all. See Toolkits without managed auth.

Ready to move? Follow Move to your own OAuth app. Existing connections keep working while you switch.

Create a custom auth config

To check whether Composio provides the OAuth app for a toolkit, see Managed OAuth apps. The steps below use the dashboard. To create auth configs in code instead, for example one per customer, see Programmatic auth configs.

Create the auth config in the Composio dashboard

In the Composio dashboard:

  1. Click Create
  2. Select the toolkit
  3. Choose the auth scheme (OAuth2, API Key, Bearer Token, etc.)
  4. Follow the dashboard instructions for the required credential fields

For OAuth toolkits, the dashboard shows the redirect URI to add in the provider's developer portal.

Collect credentials from the provider

For OAuth toolkits, register an app in the provider's developer portal and add the redirect URI from the dashboard. Then copy the Client ID and Client Secret back into Composio.

For API key, bearer token, basic auth, or other auth schemes, collect the credential fields the toolkit requires and enter them in the dashboard.

Each toolkit page has setup steps for its provider: Google | GitHub | Slack | HubSpot | All toolkits

Save and copy the auth config ID

After you enter the required credentials, click Create Auth Config and copy the auth config ID (for example, ac_1234abcd).

Pass the auth config ID in your session

Creating the auth config isn't enough on its own. A session uses your config only when you pass its ID to authConfigs, keyed by toolkit. Toolkits you leave out keep using Composio managed auth.

from composio import Composio

composio = Composio()
session = composio.create(
    user_id="user_123",
    auth_configs={
        "github": "ac_your_github_config",
        # toolkits not listed here still use Composio managed auth
    },
)

Mixing per toolkit

You don't have to pick one approach for all toolkits. Use your own credentials for toolkits where users see consent screens (GitHub, Google, Slack) and Composio managed auth for the rest. Each toolkit gets its own auth config independently.

session = composio.create(
    user_id="user_123",
    auth_configs={
        "github": "ac_your_github_config",
        "google": "ac_your_google_config",
        # everything else uses Composio managed auth automatically
    },
)

Toolkits without managed auth

Some OAuth toolkits do not have a Composio-managed OAuth app. Check Managed OAuth apps to find them. For API keys, instance details, and other authentication methods, check the individual pages in the toolkit catalog.

Next