This document describes the how to allow Google APIs API's server to server access for emakin rest clients.
...
Before allowing the access you need to register emakin as application. This step is already configured for cloud configuration and required only for on-premises.
...
Configuring Emakin for Google Login Service
- Open workflow.config to add google as login service
In loginServices add a new element as below
Code Block <add clientType="Google" enabled="true" clientId="<googleClientId>" clientSecret="<googleClientSecret>" scope="https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email" serviceAccountId="<googleServiceAccountId>" serviceAccountKey="<pathToP12File>;<password>" />Start a new Edit Domain task from Administration menu.language xml - Expand the Google Login Service
Enter the registered google credentials.
In service account key; you can specify in following formats;
If certificate is stored in local server
FILE;<CertificateFilePath>;<CertificatePassword>
- If you dont have local access to server you can also specify with
- BASE64;<CertificateBase64>;<CertificatePassword>
- URL;<CertificateFileUrl>;<CertificatePassword>
Configuring Emakin for Google Drive Integration
If you want to enable Google Drive; in fileServices add new element as below;
Code Block language xml <fileServices> <add clientType="Desktop" /> <add clientType="Webcam" /> <add clientType="GoogleDrive" scope="https://www.googleapis.com/auth/drive"/> </fileServices>
- If you want to allow offline access to API from without user interaction, please add the "offline" scope with space separated.
...
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | |||
---|---|---|---|
| |||
|