Google OAuth2.0 Service Account authentication (server-to-server)

Table of contents

  • Introduction
  • Guide

Introduction

Many Google APIs support service account authentication for secure server-to-server communication without requiring user interaction. With support for Google OAuth 2.0 Service Account authentication, Alumio integrations can securely connect to services such as BigQuery, Google Cloud Storage, and Google Workspace APIs, enabling automated and reliable data exchange between systems.

Guide

Step 1: Go to Connections → HTTP authentications and click Create to add a new authentication method.

Step 2: In the Name field, enter a clear name for the authentication. Optionally, add a description for additional context.

Step 3: In the Settings section, select Google Service Account OAuth2 as the authentication method.

Step 4: In Service account scopes, add the required Google API scopes your integration needs. You can add multiple scopes by clicking Add a scope.

Step 5: In The service account JWT token field, paste the contents of the JSON key file generated in Google Cloud for your service account. For security, it is recommended to store this value in an encrypted environment variable and reference it here.

Step 6: Choose the HTTP client that will use this authentication for making requests to Google APIs.

Step 7: Click Save & continue to store the authentication. The authentication can now be used by HTTP clients, publishers, subscribers, or transformers that need to connect to Google APIs.