Set Up OAuth 2.0 for the Google Cloud Storage Destination
The following article shows how to enable OAuth 2.0 for the google cloud storage destination.
Xtract Universal supports OAuth 2.0 for authentication with the Google servers. To enable the OAuth 2.0 protocol, configure an OAuth flow with the required access permissions to Xtract Universal.
Note
Google initially classifies third-party applications generally as unsafe and issues a warning. The verification process is optional. Official app verification involves ongoing charges.
Note
As of version 5.11.16 Xtract Universal also supports authentication via service account credentials, see Documentation: Google Cloud Storage - Destination Details.
GCP console
The GCP console allows configuring of all resources and services. To get to the overview dashboard, navigate to the Google Cloud Storage page and click [Console] or [Go to console].
To access all settings and services use the navigation menu on the upper left side.
Set Up OAuth 2.0
- Open the GCP console. In the navigation menu, select APIs & Services > Credentials.
- In the "Credentials" section select Create Credentials > OAuth client ID.
- Click [Configure consent screen]. The "Configure consent screen" is processed with the OAuth flow that is started when a connection is established in the Xtract Universal Designer.
-
- If your account belongs to an organization, you can restrict the usage of Xtract Universal in combination with GCS to your organization. To do so, select internal in the User Type option . The restriction option is only available, if you are a GSuite user.
- Alternatively you can allow any user with access to the OAuth credentials to grant Xtract Universal the permission to write data to your GCS buckets. To do so, select external in the User Type option.
- If your account belongs to an organization, you can restrict the usage of Xtract Universal in combination with GCS to your organization. To do so, select internal in the User Type option . The restriction option is only available, if you are a GSuite user.
- Click [Create] to continue .
- In the "App information" section enter an app name of your choice.
Support email and Developer contact information are also mandatory fields. Click [Save and continue] to get to the next section.
- In the following section click [Add or remove scopes].
Xtract Universal needs read and write permissions for its operations, which are configured in the "Scopes" section.
- Enter
https://www.googleapis.com/auth/devstorage.read_write
under Manually add scopes and click [Add to table].
- The newly added scope is the first entry in the table. Click [Update] to create the entry.
- Click [Continue] when the "Verfification required" window is prompted.
- Click [Save and continue] twice.
- Click [Back to dashboard] to return to the dashboard.
- Return to the "Credentials" menu, click [Create credentials] and select OAuth client ID.
Select Desktop app as application type , enter a name for the app .
- Click [Create] .
Your OAuth client is now created.
The Client ID and the Client secret are needed for the destination configuration in Xtract Universal, see Documentation: Google Cloud Connection Settings.
Related Links
- Documentation: Google Cloud Storage Destination
- Google Cloud Storage Documentation: Cloud Storage-Authentifizierung
- Google Cloud Storage Documentation