This page describes how to configure Integration Endpoint to push assets to Youtube.
...
Obtaining the Refresh Token and become Authenticated
The following should be an automatic link in MM5 but right now you will have to construct it yourself. You will need:
- Client ID
- Redirect URI (as described above - has to be the digizuite integration api)
- Uid of the integration endpoint to use
Integration Service now has an endpoint which will provide you with a login URL for google. It uses the definitions on the endpoint to create the google auth URL such as client id, redirect uri. A swagger screenshot can be sen here and it is important to authorize using a digizuite access key to be able to generate the result.
The result will be a url looking like this:
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
This should be automated in MM5 but it can also be manually constructed by taking the above URL and put in (fetched from your integration endpoint in MM5):
- 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):
...