You are viewing an old version of this page. View the current version .
Compare with Current
View Page History
« Previous
Version 3
Next »
Create service account Go to https://console.developers.google.com/projectselector/permissions/serviceaccounts Select a project. You can create a new one too (e.g. jogetsample). Click on Create Service Account . Name the service account (e.g. jogetsample). Remember to check Furnish a new private key and also Enable Google Apps Domain-wide Delegation . Press Create . A .json file will be downloaded. Open up the file. Enable Google Drive API Go to https://console.developers.google.com/apis/library Make sure that your current project is selected (e.g. jogetsample). Click on Google Drive API . Enable it.Delegate Google Drive access Go to https://admin.google.com/AdminHome?chromeless=1#OGX:ManageOauthClients . From the downloaded JSON file earlier, copy the "client_id" and put into the Client Name field. In the field One or More API Scopes , key in the following value.
https://www.googleapis.com/auth/drive.file
Click Authorize .
From the downloaded JSON file earlier, copy the "client_email" and "private_key" values.
In your Joget app, select Google API Configuration in Properties & Export -> Set Default Plugin Properties
Key in the value of "client_email" value into OAuth 2.0 Client ID, and value of "private_key" into OAuth 2.0 Client Secret, then Submit.