Custom Authentication Guide
Learn how to use various authentication methods to connect to your application.
Composio supports multiple authentication schemes, and a connection can be created with any of these.
Auth with OAuth 2.0
To add custom OAuth 2.0 credentials, you can specify your own client id and client secret while creating an integration.

Initiate the Connection
The first step is to initiate a connection request using your integration ID. This creates a connection request with the OAuth 2.0 credentials you configured.
Auth with API keys
Many applications have API key or token based authentication, in these cases, your users will need to provide the API key, token or other parameters to authenticate and use the service.
Retrieving Parameters Users Need to Provide
In this case, Shopify requires the user to provide the api_key
and shop
parameters.
Auth with Bearer Token
Many applications that have OAuth 2.0, also support the user providing their own Bearer token.
For these, the user is expected to provide the token in the connectionParams
parameter.
Retrieving Parameters Users Need to Provide
Gmail also supports authentication via a Bearer token. If configured to use the Bearer token, the user will need to provide the token in the connectionParams
parameter.