Configure OAuth Client ID in Google Cloud Platform

This section describes the mandatory configuration required for OAuth client ID in Google Cloud Platform (GCP).

  1. Creating Project in GCP

    Google Cloud projects form the basis for creating, enabling and using all Google Cloud services including managing APIs, enabling billing, adding, and removing collaborators, and managing permissions for Google Cloud resources.

    To create a new project, refer to the steps mentioned in the following linkInformation published on non-SAP site.

  2. Enabling Google APIs in API Library

    In GCP, it is mandatory to enable the Google services which will be automated by SAP Build Process Automation. Services such as Google Drive, Gmail, and Google Sheets must be enabled in GCP.

    To enable these service APIs, refer to the steps mentioned in the following linkInformation published on non-SAP site.

  3. Configuring the OAuth Consent Screen

    To configure the OAuth consent screen, refer to the following steps:

    • Choose the "User Type" as "Internal" if it is to be used by only the users within the organization.

    • Setup OAuth consent screen with information like app name, user support email, app logo, app domain, and developer contact info.

    • Specify the scopes. For SAP Build Process Automation, the scopes specified here doesn't matter as SAP Build Process Automation expects credentials for an application of type "Desktop app". Incremental authorizationInformation published on non-SAP site is not supported for installed apps or devicesInformation published on non-SAP site.

      For more information, you can refer to the steps mentioned in the following linkInformation published on non-SAP site.

  4. Configuring the OAuth Client ID Credentials

    To create OAuth client ID credentials, refer to the following steps:

    • Create OAuth client ID credentials.

    • Select "Application type" as "Desktop app" as SAP Build Process Automation Desktop Agent is the client here.

    • Provide the desired name.

    • Download the JSON file. For SAP Build Process Automation, the path to the JSON file with the OAuth client ID details should be provided as input to "Authorize Google (OAuth Client ID)" activity.

      For more information, you can refer to the steps mentioned in the following linkInformation published on non-SAP site.