Youtube Component is designed to implement the Youtube Data API.
Youtube component uses the OAuth 2.0 authentication protocol
Before building your first integration flow you must configure the app from inside the Google Developers Console.
APIs & Services
-> Enabled APIs & services
page and enable the Youtube API
Credentials
section and create a new credential of type OAuth client ID
Web application
https://{your-tenant-address}/callback/oauth2
During credentials creation you would need to:
OAuth2
drop-down list Type
.Choose Auth Client
or create the new one.
For creating Auth Client you should specify following fields:Field name | Mandatory | Description |
---|---|---|
Name | true | your Auth Client’s name |
Client ID | true | your OAuth Client ID |
Client Secret | true | your OAuth Client Secret |
Authorization Endpoint | true | set: https://accounts.google.com/o/oauth2/auth |
Token Endpoint | true | set: https://oauth2.googleapis.com/token |
https://www.googleapis.com/auth/youtube
, more infoaccess_type:offline,prompt:consent
to make component works properlyExecutes custom request to the plain REST API. Follow the docs to learn how to build a REST request:
false
.GET
, POST
, PUT
, PATCH
, DELETE
.Input message example:
{
"method": "GET",
"url": "/channels?part=snippet&mine=true"
}