Google Mail Connector 24.3

# Configure OAuth Authentication (Single User)

To retrieve messages from a single user, follow these steps to create an OAuth application and run the OAuth configuration tool.

To create an OAuth application

1. Go to https://console.developers.google.com/ and log in.
2. Create a new project, and make sure the project is selected.
3. Click Enabled APIs & services and enable the Google Mail API.

4. Click Credentials and create a new "OAuth client ID".

   1. Select application type "Desktop App".
   2. Give the app a name.
   3. Click Create.
   4. Make a note of the client ID and client secret that are provided.

You can now run the OAuth configuration tool that is provided with the connector.

To run the OAuth configuration tool

1. Open the folder where you installed the connector.
2. Open the OAuth tool configuration file, `oauth_tool.cfg`, in a text editor.

3. In the `[Default]` section, set any SSL or proxy settings that are required to access the repository:

   `SSLMethod` | The version of SSL/TLS to use.
   `ProxyHost` | The host name or IP address of the proxy server to use.
   `ProxyPort` | The port of the proxy server to use.

   For example:

       SSLMethod=NEGOTIATE
       ProxyHost=10.0.0.1
       ProxyPort=8080

4. In the `[OAuthTool]` section, set the following parameters:

   `AppKey` | The client ID that you obtained when you created the OAuth application.
   `AppSecret` | The client secret that you obtained when you created the OAuth application.

5. Open a command-line window and run the following command:

   `oauth_tool.exe oauth_tool.cfg OAuthTool`

   The OAuth configuration tool creates the files `oauth.cfg` and `oauth2_sites.bin`. When you configure the connector, import the parameters from `oauth.cfg` into your task configuration. For more information about configuring a fetch task, see Retrieve Information from a Single User.

Copyright 2024 Open Text
Version 24.3 | Last updated June 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Google Mail Connector 24.3

Topic Title: Configure OAuth Authentication (Single User)