Symptom
You see error below while trying to send messages to SuccessFactors OData using HTTP adapter with OAuth2 SAML Bearer Assertion authentication type:
- java.lang.IllegalArgumentException: Cannot generate OAuth 2.0 SAML Bearer Assertion because the logged in user does not have configured mail attribute.
Environment
- SAP Cloud Integration
- SAP Integration Suite
Reproducing the Issue
Try to start an application that uses OAuth2SAMLBearerAssertion as the authentication method for an HTTP Adaptor
Cause
OAuth2 SAML Bearer Assertion authentication type cannot be used in HTTP adapter with lower versions like 1.7
Resolution
To resolve the issue please follow the below steps:
- Delete the lower version HTTP Adaptor
- Download the latest version of HTTP Adaptor and reconfigure the OAuth Connection
See Also
Keywords
SAP HANA Cloud Integration, SAP HCI, SAP CPI, SCPI, SFSF, tenant, iFlow, Integration Flow, deployment, SF, Success, Factors, SuccessFactors, OData, v2, HTTP, adapter, OAuth2, SAML Bearer, Assertion, authentication, type, , KBA , LOD-HCI-PI-CON-HTP , HTTP Adapter , LOD-SF-INT , Integrations , LOD-SF-INT-CPI , Standard SF to 3rd Party CPI (HCI) Content , Known Error