Authentication in Connector Builder - The Authenticated toggle in Connector Builder enables you to configure an authentication method for the custom connection to authenticate the connection from the Control Room and access your application data.

Automation 360

The Authenticated toggle in Connector Builder enables you to configure an authentication method for the custom connection to authenticate the connection from the Control Room and access your application data.

About this task

Use the Authenticated toggle switch to authenticate sessions for your apps in the Connector Builder. Turning on the toggle automatically adds the Authentication action to the custom connector. This action maintains the authentication token within an automation session and automatically passes the token to all actions within the package. The Authentication action simplifies the authentication process by eliminating the need to manually handle authentication headers or query parameters for each action.

Before you begin

Ensure that you have created a custom connector. See Create custom connector.

Procedure

  1. Log in to your Control Room.
  2. Navigate to Manage > Packages.
  3. On the Packages page, click the Connectors tab.
  4. Click a connector or create a new connector.
  5. Turn on the Authenticated toggle switch.
  6. Select one of the following authentication types from the drop-down:
    Authentication type Description
    Basic The Basic option requires a username and password to authenticate with the target application. The Control Room automatically transmits the base-64 encoded credentials in an Authorization Header with the format Basic <base-64 encoded> in your API requests.
    Oauth 2.0 The OAuth 2.0 option an existing OAuth connection available in the Control Room for authentication. The Authentication action generates an authorization header using the access token retrieved from the OAuth and includes it in API requests.
    1. Select an appropriate location type to send to the API provider as a header or query parameter.
    2. Enter a name and prefix1 for the header parameter and enter a name for the query parameter.
    API Key The API Key option requires API key for authentication. The Control Room automatically transmits the API key along with the headers or query parameters in your API requests.
    1. Select an appropriate location type to send to the API provider as a header or query parameter.
    2. For headers, enter a name and prefix1.
      Note:
      • A minimum of one header is required to enable API key authentication.
      • You can add multiple headers to include additional information in the Authentication action.

        Multiple headers provide an additional security layer. Contextual metadata can also be included in the headers.

      • You can change the key and prefix of an existing header using the edit button.
      • You can delete the existing headers individually or collectively using the delete button.
    3. For query parameters, enter an appropriate name to be included in the request.
    AWS Signature The API Key option requires AWS credentials including AWS Access Key ID, AWS Secret Access Key, AWS Region and Service name for authentication. For more information about AWS Signature-based authentication, see AWS Signature authentication.
    Custom The Custom option requires a custom API endpoint for authentication. The authentication API endpoint requires HTTP Method, Endpoint, Request parameters, Request headers, Request body, and Response payload in a similar way to configuring an action. For more information, see Configure action in connector editor.

    1Do not add a space after the prefix. For example, if the prefix is Bearer, just enter Bearer without any succeeding space.