Versions Compared

Key

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

This page describes how to configure Integration Endpoint to upload video assets to Youtube.

...

  1. ClientSecretJsonString: 
    1. Can be found here (see section about obtaining youtube client secret below):
  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: The URL of your DC with the following appended "/api/v1/IntegrationEndpoint/google-integration-signin". Example: https://YOURDC/api/v1/IntegrationEndpoint/google-integration-signin (from the Digizuite API)

...

Info

It's imperative that the client secret is added to the integration endpoint configuration.

The contents of the Json file is the secret. All of it must be copied into ClientSecretJsonString textfield.

Obtaining the Refresh Token and become Authenticated

...

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):

...