Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

  1. ClientSecretJsonString: 
    1. Can be found here:
    2. Image Added
  2. Refresh Token: Please ignore this field
  3. UserId: The email of the account that should be used to upload. Usually a Gmail email.
  4. 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

...

  1. Client ID
  2. Redirect URI (as described above - has to be the digizuite integration api)
  3. 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):

...