Creating a G-Suite connection using GOOGLE_EXTENDED OAuth2 Credential

RapidIdentity Platform Documentation

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US
  1. Configure the G-Suite Connection:
    1. Insert the defineGoogleExtendedOAuthConnection() action.
    2. Enter the domain.
    3. Select the desired credential in the CREDENTIALNAME dropdown menu.
    4. Enter the Google User ID of the account you wish to use in the impersonateUserId field.
    5. Enter an array of scopes to authorize for the connection.

      The set of scopes must be a subset of those that were authorized for use by the Service Account Key for the domain.

  2. Locate the username for the impersonateUserId field:
    1. Navigate to Google Cloud Platform URL (https://console.cloud.google.com)
    2. Log in to Google Cloud Platform URL.
    3. Choose a project from the Select a project dropdown.
    4. Click on the menu button at the top left of the page and select APIs & Services.
    5. Select Credentials.
    6. Click CREATE CREDENTIALS.
    7. Select Service Accounts.
    8. Click the desired Service Account.
    9. Click the Permissions tab.
    10. Ensure View By at the bottom is set to Principals.
    11. Locate the username under the Principals section.