Google Service Authentication¶
Use this page when Emakin needs Google API server-to-server access through a Google service account. This is typically relevant for on-premises deployments or environments where the cloud-side configuration is not already managed.
Note: The Google Console flow and credential formats described below reflect the currently documented setup. Google may change console labels, key formats, or service-account options over time.
Creating a Service Account¶
Before allowing access, register Emakin as an application. According to the current documentation, this is already configured for cloud deployments and is required mainly for on-premises environments.
- Log in to Google Cloud Console.
- Open IAM & Admin and select Service Accounts.
- Select Create Service Account and enter a name for the account, for example
emakin. - Enable Furnish a new private key and Enable G Suite Domain-Wide Delegation.
- Select P12 as the key type.
- Record the Service Account Id for later use.
- Create the account and download the
.p12file.
Configuring Emakin for Google Login Service¶
- Open Edit Domain from the administration menu.
- Expand Google Login Service.
- Enter the registered Google credentials.

-
Enter the service account key in one of the supported formats:
-
If the certificate is stored on the local server:
-
FILE;<CertificateFilePath>;<CertificatePassword> -
If you do not have local access to the server:
-
BASE64;<CertificateBase64>;<CertificatePassword> URL;<CertificateFileUrl>;<CertificatePassword>
Configuring Emakin for Google Drive Integration¶
If you want to enable Google Drive, add a new element in fileServices like the example below:
1 2 3 4 5 | |
If you want to allow offline API access without user interaction, add the offline scope as a space-separated value.