cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Integration Suite – SF Principal Propagation: Error Retrieval of OAuthToken

Marvin_Sanjaya
Explorer
0 Kudos
207

Hello,

 

We want to try Principal Propagation to SuccessFactors in Integration Suites so we can perform SuccessFactors approval (SF API approveWfRequest and rejectWfRequest) from external system (mobile apps)—that needs to be executed using the actual approver’s user ID.

 

We have followed the steps to configured the Principal Propagation in this blog: Principal Propagation in SAP Integration Suite from external system to SuccessFactors, however we still got error :

ErrorCode :200 ErrorMessage :Retrieval of OAuthToken failed due to: Cannot determine user to propagate for OAuth2SAMLBearerAssertion destination. Either provide user_token JWT token (https://docs.cloudfoundry.org/api/uaa/version/4.7.1/index.html#user-token-grant) when retrieving the destination or configure it with SystemUser..)

Marvin_Sanjaya_0-1728023587625.png

 

 

Following are our configurations in BTP, SF, and Integration Suites.

 

Role Collection in BTP with 2 users that have account in SF:

Marvin_Sanjaya_1-1728023587630.png

 

 

OAuth configuration in SF using Certificate downloaded from BTP Destination:

Marvin_Sanjaya_2-1728023587632.png

 

 

Security Material created in Integration Suites using Client Key from ZOAUTH_IS_2 API Key.

Marvin_Sanjaya_3-1728023587637.png

 

 

And lastly, this is our integration flow and how we call it using Postman (with user configured in role collection SF_Propagation):

 

Marvin_Sanjaya_4-1728023587640.png

 

 

 

Marvin_Sanjaya_5-1728023587648.png

 

 

Is there anything wrong with our configuration? Or there is missing configuration that we need to execute?

 

Thank you.

Accepted Solutions (0)

Answers (0)