Pre-requisites
  • 19 Jan 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Pre-requisites

  • Dark
    Light
  • PDF

Article summary

This section describes the information needed from the target application team.

  • Application Instance's Connectivity Details
  • Service Account Details (Client Credentials details)
    Note:

    Admin id: This service account should have read and write privileges to perform all the operations successfully.

Sr. No.SectionDescriptionValue Example
1.Admin UseridProvide admin ID of G-suite applicationadmin@company.com
2.Admin PasswordProvide the Admin Password


3.ClientIDProvide Client ID from the G-suite application
4.
Client Secret Key

Provide Client Secret Key from the G-suite application

5.Domain Name


Provide the domain details


Example: company.com

Note:

Admin ID: This service account should have read and write privileges to perform all the operations successfully.

  1. Download the Postman application instead of using the service from the browser. Once Client ID and Client Secrete keys are collected, generate a refresh token by following the below steps:
    • Open Postman application.
    • Click the ‘+’ symbol to add a new request.
    • Select Authorization tab > OAuth 2.0 and then click Get New Access Token.
    • In Scope tab: https://www.googleapis.com/auth/admin.directory.user https://www.googleapis.com/auth/admin.directory.rolemanagement https://www.googleapis.com/auth/admin.directory.group https://www.googleapis.com/auth/admin.directory.domain https://www.googleapis.com/auth/admin.directory.group.member https://www.googleapis.com/auth/admin.directory.user.readonly
      https://www.googleapis.com/auth/cloud-platform
      https://www.googleapis.com/auth/admin.directory.orgunit https://www.googleapis.com/auth/admin.directory.orgunit.readonly
    • Click Request Token.
    • In response, you will get a Refresh Token.
    • Update the refresh token in webapps\GSuiteConnector\WEB-INF\classes “authentication.properties file.
  2. Once the Refresh token is collected, update the authentication.properties file in the below location

     C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\GSuite\WEB-INF\classes

  3. Target Application (Gsuite):




Was this article helpful?