How to configure Google Service Account in Oracle VBCS
Summary:
We have a requirement to use google Translate v3 API for translation of webpage. This version of google API only allows OAUTH2 or Google Service Account as Authorization.
I want to know how we can configure Google Service Account in backend + service connection so that same token can be used across all the open session.
Content (please ensure you mask any confidential information):
{
"type": "service_account",
"project_id": "languagetranslationpoc-XXXXX",
"private_key_id": "PPPXXXPPP",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhstYA8PhiHctA\nratuVWxkXQnzbbnB44W7ZwVF\n-----END PRIVATE KEY-----\n",
"client_email": "abc@languagetranslationpoc-****.iam.gserviceaccount.com",
"client_id": "XXXXXXXXX",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",