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 Calendly? |
| 2 | |
| 3 | Use your own Calendly OAuth app when you want users to see your app's name on the consent screen and control the credentials yourself. |
| 4 | |
| 5 | ### Create the Calendly app |
| 6 | |
| 7 | 1. Sign in to the [Calendly developer portal](https://developer.calendly.com/) and click **My Apps**. |
| 8 | |
| 9 |  |
| 10 | 2. Click **Create New App** and fill in the form: |
| 11 | - **Name of app**: for example, `Composio-Calendly`. |
| 12 | - **Kind of app**: **Web**. |
| 13 | - **Environment type**: **Sandbox** for development and testing. Switch to **Production** when you go live. |
| 14 | - **Redirect URI**: `https://backend.composio.dev/api/v1/auth-apps/add`. It must use `https`, have no trailing slash, and exactly match the `oauth_redirect_uri` field in your Composio auth config. |
| 15 | 3. Save the app and copy the **Client ID** and **Client Secret**. |
| 16 | |
| 17 |  |
| 18 | |
| 19 | ### Create the auth config in Composio |
| 20 | |
| 21 | 1. In the Composio dashboard, go to **Auth Configs**, click **Create Auth Config**, and select **Calendly**. |
| 22 | |
| 23 |  |
| 24 | |
| 25 |  |
| 26 | 2. Set the authentication type to **OAuth2** and choose **Use your own developer authentication**. |
| 27 | |
| 28 |  |
| 29 | 3. Paste the **Client ID** and **Client Secret**, then click **Create Calendly Auth Config**. |
| 30 | 4. Click **Connect Account**, approve access in Calendly, and confirm the account shows as **Active**. |
| 31 | |
| 32 | See [Custom auth configs](/docs/auth-configuration/custom-auth-configs) for the general flow. |
| 33 | |
| 34 | ## Why can't I configure individual scopes for Calendly? |
| 35 | |
| 36 | Calendly does not let end users selectively approve individual scopes during the OAuth connection flow. The scopes configured in your Calendly OAuth app are the scopes that will be requested during authorization, and the resulting access token will include that configured permission set. |
| 37 | |
| 38 | To change Calendly permissions, update the scopes in your OAuth app/auth config and reconnect the account so a new token is issued with the updated scopes. |