Authentication Error When REST Service Participant Configured for Basic Authentication Type

You receive an authentication error when trying to invoke a REST service from a process when the REST service participant is configured for Basic Authentication.

This is because when the identity provider and keystore were created in the ActiveMatrix runtime, they were configured for X-509 Authentication whereas they should have been configured for Basic Username Password Authentication. X-509 is not supported by REST BT.

The workaround for this issue is to configure basic authentication using the governence app :
  • Manually generate the Keystore containing the security credentials (containing the username/password to call BPM REST API's) .
  • Once the keystore is generated, create the identity provider which uses the generated keystore to supply identity. Directly provide the identity provider name as a governance app name in the REST participant.
    Note: Follow the detailed steps to generate the keystore and identity in Creating a Keystore Containing the Security Credentials to Run the Business Process in the tutorial Using Credential Mapping to Associate a Specific Identity with a Process InstanceCreating a Keystore Containing the Security Credentials to Run the Business Process.