SAP Knowledge Base Article - Public

3688494 - ISC event fails to trigger CPI interface using oauth2

Symptom

  • When creating event connectors in SuccessFactors Intelligent Services UI error - "Your changes were successfully saved. Please check the endpoint configuration because the connection couldn't be validated successfully" appears when attempting to save the configuration while configuring the event connector. 

Environment

SAP SuccessFactors HCM 

Reproducing the Issue

  1. Configure the integration between SAP SuccessFactors ISC and SAP CPI (Neo tenant).
  2. Use OAuth2 Client Credentials authentication for the CPI endpoint.

Cause

The issue occurred because the client credentials were being passed in the request body, whereas the OAuth server expects them in the Authorization header.

Resolution

To resolve this issue:

  1. Ensure that the client credentials are passed in the Authorization header as a base64-encoded string in the format `:`.
  2. Verify that the OAuth2 token generation is successful using the correct Authorization header.
  3. Confirm that the runtime execution of events sends the client credentials correctly in the Authorization header.
  4. Test the integration to ensure that ISC events successfully trigger the CPI interface using OAuth2 Client Credentials authentication.

Note: The UI error message can be ignore as no actions to be taken since the same configuration will work during runtime.

See Also

Refer to: How to Trigger a CPI process from SuccessFactors I... - SAP Community 

Keywords

sap successfactors, isc events, cpi integration, oauth2 client credentials, unauthorized_client error, intelligent services, hire termination rehire events, oauth2 authentication, cpi endpoint, integration failure, authorization header. , KBA , LOD-SF-PLT-ISC , Intelligent Services , Problem

Product

SAP SuccessFactors HCM Core all versions