This page describes how to configure Integration Endpoint to upload video assets to Youtube.
...
- ClientSecretJsonString:
- Can be found here (see section about obtaining youtube client secret below):
- Refresh Token: Please ignore this field
- UserId: The email of the account that should be used to upload. Usually a Gmail email.
- 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
...
- 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):
...