Enabling authentication with REST API

Before installing Link or REST API, first enable authentication for the REST API execution time.

This enables authentication and enforces security checking before the flow is executed. The REST API call is authorized by accessing the Link user repository using the REST API supplied user and password, or security token. To enable the authentication mechanism, edit the file:

  • For native installation: <Link_install>/config.yaml
  • For docker installation: <Link_install>/config.yaml
  • For Windows installation: C:\HCL\Link_<version number>\config\config.yaml

and then change the settings in /rest/authentication/enabled as shown below:

enabled=true