InfoArchive Connector 24.3

# Configure OAuth Authentication

Before using the connector, you must configure authentication with InfoArchive.

To configure OAuth authentication

- To configure the NiFi Ingest connector

  1. In the NiFi web interface, right-click the processor and click Configure.
  2. Click ADVANCED, and complete the guided setup wizard. Then configure OAuth using the OAUTH SETUP tab.

- To configure the standard connector

  1. Open the folder where you installed the connector.
  2. Open the 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:

     `TokenUrl` | Set this parameter so that the OAuth Token URL matches the location where your InfoArchive application is deployed.
     `AppKey` | The "clientId" from the InfoArchive `application-CLIENTS.yml` file.
     `AppSecret` | The "clientSecret" from the InfoArchive `application-CLIENTS.yml` file.
     `CustomValue0` | The scope to use when authenticating with the InfoArchive API.
     `CustomValue1` | The user name to use when authenticating with the InfoArchive API.
     `CustomValue2` | The password to use when authenticating with the InfoArchive API.

     Do not modify the other parameters in this section.

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

     `oauth_tool.exe oauth_tool.cfg OAuthTool`

  6. The OAuth tool displays a message stating that the files `oauth.cfg` and `oauth2_sites.bin` have been created. These files contain the information the connector needs to authenticate with InfoArchive. When you configure the connector, import the parameters from `oauth.cfg` into your task configuration. For more information about including parameters from another file, see Include an External Configuration File.

  7. You can now use the connector.

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 InfoArchive Connector 24.3

Topic Title: Configure OAuth Authentication