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 21, 06:00 UTC
| 1 | ## How do I set up custom OAuth credentials for Asana? |
| 2 | |
| 3 | Use your own Asana app when you want users to see your app's name on the consent screen and control the credentials yourself. |
| 4 | |
| 5 | ### Create the Asana app |
| 6 | |
| 7 | 1. Sign in to Asana and open the [Asana developer console](https://app.asana.com/0/my-apps). |
| 8 | 2. Click **+ New App** and enter an app name, such as `Composio Integration`. The app website is optional. |
| 9 | |
| 10 |  |
| 11 | 3. In the app's OAuth settings, add the redirect URL `https://backend.composio.dev/api/v1/auth-apps/add`. It must exactly match the `oauth_redirect_uri` field in your Composio auth config. |
| 12 | 4. Save the app and copy the **Client ID** and **Client Secret**. |
| 13 | |
| 14 |  |
| 15 | |
| 16 | ### Create the auth config in Composio |
| 17 | |
| 18 | 1. In the Composio dashboard, go to **Auth Configs**, click **Create Auth Config**, and select **Asana**. |
| 19 | |
| 20 |  |
| 21 | 2. Set the authentication type to **OAuth2** and choose **Use your own developer authentication**. |
| 22 | 3. Paste the **Client ID** and **Client Secret**, add any scopes you need, then click **Create Asana Auth Config**. |
| 23 | 4. Click **Connect Account**, sign in to Asana, and approve access to your workspace. Confirm the account shows as **Active**. |
| 24 | |
| 25 | See [Custom auth configs](/docs/auth-configuration/custom-auth-configs) for the general flow. |
| 26 | |
| 27 | ### Scopes |
| 28 | |
| 29 | The default auth config doesn't request specific scopes. To request granular scopes such as `tasks:read`, `projects:read`, or `workspaces:read`, enable them in the Asana app's OAuth settings and add the same values to the auth config's **Scopes** field. Request only what your integration uses. |
| 30 | |
| 31 |  |