This page describes how to configure Integration Endpoint to push upload video assets to Youtube.
Pre-requisites:
...
In your project, you must enable the Youtube Data API v3. The Youtube API can be enabled from the developer portal: https://console.developers.google.com/apis/api/youtube.googleapis.com/overview
...
In here, you will have to create a new endpoint. You should be seeing the following screens - just without the data filled in
(YT folder is a folder in the channel area in the DC)
The following steps will guide you to fill this form out correctly.
...
You need to fill in some additional google information which is important
...
- ClientSecretJsonString:
- Can be found here:
- Refresh Token: Please ignore this field
- UserId: The email of the account that should be used to upload. Usually a Gmail email.
- Redirect URI - this HAS to be the url of http: The URL of your DC with the following appended "/api/v1/IntegrationEndpoint/google-integration-signin". Example: https://yourdamYOURDC/api/v1/IntegrationEndpoint/google-integration-signin (from the Digizuite API)
Obtaining your Youtube client secret
...
https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&response_type=code&client_id={CLIENT_ID}&redirect_uri=https://YOURDAMIN/digizuitecore/api/v1/google-integration-signin&scope=https://www.googleapis.com/auth/youtube.upload&state=02015ede-eded-4844-a4f1-ca568cea7d9b
...
- Client ID
- Redirect URI (as described above - has to be the digizuite integration api)
- Uid of the integration endpoint to use
Copy and pasting the link into your browser will ensure that you are validated by google and give you this mesage:
Ensuring that the redirect URL corresponds to an authorized redirect URL (where you configure your secrets):
...