Configure OAuth Authentication

To retrieve information from Records365 you must register an application to represent the connector. You must then configure the connector to authenticate using OAuth.

To configure OAuth authentication

  1. Go to the Microsoft Azure Portal and create an OAuth application to represent the connector.
  2. Run the OAuth configuration tool that is supplied with the connector.

    • 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 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 each of the CustomValueN parameters (where N is a number). For example, set CustomValue2 to the client ID that was generated when you created your OAuth application:

        CustomName0=resource
        CustomValue0=https://recordpoint.com/rpfabric
        CustomName1=tenant_id
        CustomValue1=
        CustomName2=client_id
        CustomValue2=
        CustomName3=username
        CustomValue3=
        CustomName4=password
        CustomValue4=
        CustomName5=scope
        CustomValue5=
      5. Open a command-line window and run the following command:

        oauth_tool.exe oauth_tool.cfg OAuthTool

        The OAuth 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 including parameters from another file, see Include an External Configuration File.