> For the complete documentation index, see [llms.txt](https://make.inhale.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://make.inhale.tech/connections/google-oauth-2.0.md). Agents can also search and read this documentation through its [MCP server](https://make.inhale.tech/~gitbook/mcp).

# Google OAuth 2.0

Used to upload videos to YouTube channel

{% hint style="info" %}
**How to use?** \
\
Just give any name for the connection, press "Add" button, choose your Google account and allow all required permissions.

**Also** you can overwrite the default Google OAuth 2.0 client using *Client ID* and *Client Secret* parameters.
{% endhint %}

### Scope list

Default scope for every new connection:

* <https://www.googleapis.com/auth/youtube> - Manage YouTube channel
* <https://www.googleapis.com/auth/youtube.upload> - Manage videos on YouTube channel

### Parameters

**Client ID**

{% code overflow="wrap" %}

```javascript
{
    Name: "clientId"
    Type: "text"
    Required: false
    Advanced: true
}
```

{% endcode %}

**Client Secret**

{% code overflow="wrap" %}

```javascript
{
    Name: "clientSecret"
    Type: "text"
    Required: false
    Advanced: true
}
```

{% endcode %}
