How to connect Asana to Composio with your own OAuth app

2 min read

Use your own Asana OAuth app to choose what your integration can access. This guide shows how to register the app, set up custom OAuth in Composio, and connect an Asana account.

Part 1. Set up Asana

1. Create an API app

Open the Asana developer console and select New app.

Asana My apps page with the New app button

Enter an app name and choose API app. Review the Asana API Terms and select Create.

Asana app creation form with API app selected

2. Add the redirect URI and get your credentials

In your Asana app, open OAuth → Redirect URLs and select Add redirect URL. Enter the exact Redirect URI shown in your Composio auth config form and save. The current dashboard example uses https://backend.composio.dev/api/v1/auth-apps/add.

Copy the Client ID and Client secret from the OAuth tab. Keep the secret in a secure place.

Asana OAuth settings with the Add redirect URL button visible and credentials and existing redirect values redacted

3. Choose permissions and workspace access

Under OAuth → Permission scopes, select the scopes your workflow needs and save. For a read-only check using Get a task with a known task ID and standard fields, the endpoint requires tasks:read. Add other scopes for the tools and fields you use. Asana’s Get a task reference.

Open Manage distribution. For a test in your own workspace, select Specific workspaces, save that setting, and use Add workspace to allow the workspace you plan to connect. Choose Any workspace only if your app should be installable by users in other workspaces. Asana app distribution.

Asana Manage distribution with Specific workspaces selected and the Add workspace button visible

Part 2. Connect Asana in Composio

1. Create a custom auth config

In your Composio project, open Auth Configs from the sidebar and click Create.

The current Composio Platform dashboard with Auth Configs in the sidebar and Create in the header

Search for Asana and select it.

Asana in the Create Auth Config toolkit picker, with the Platform sidebar visible

Enter a config name and click Next.

Asana auth config naming step with an example name and the Next button

Keep OAuth 2.0 selected and choose Your Own Credentials.

Composio Asana setup with OAuth 2.0 and Your Own Credentials selected

Enter the Asana client ID and secret. Verify the Redirect URI matches Asana exactly. In Scopes, select the permissions your workflow needs from the scopes you registered in Asana. If a scope is missing from the list, type it and select Add scope. Click Create Auth Config.

Composio custom Asana OAuth form with blank credential fields, the production callback, and the tasks:read example

2. Authorize the account and confirm it’s Active

Open the auth config and click Connect Account. Sign in to Asana with an account that belongs to an allowed workspace. Review the requested permissions and click Allow. Return to Composio and check that the connected account shows Active.

If Asana shows forbidden_scopes, check OAuth → Permission scopes in Asana and the scopes requested in Composio. Asana expects explicit scopes for an app with granular permissions. A blank scope request uses default only when Asana’s Full permissions is enabled. After correcting the configuration, start a new connection. Asana OAuth troubleshooting.



Share