cancel
Showing results for 
Search instead for 
Did you mean: 

Using the bearer token as authentication method for SFDC rest api in SAP PI/PO ID.

Dhanola
Explorer
0 Kudos
223

Hi, I am new to SAP PI/PO and am learning things. Can anyone help me show how to set up the communication channel in ID for SFDC to authenticate using the bearer token only, also I don't have the client ID and other creds of salesforce so for testing purposes I am using the bearer token but don't know how to do the same. In Postman I am getting the data using the bearer token but I don't know how to do the same in SAP ID.

Please provide the steps to set up and test the configurations with screenshots if possible.

Accepted Solutions (0)

Answers (2)

Answers (2)

PRAGSMATIC
Participant
0 Kudos

Look into postman Code section , 
in PI Rest adapter , HTTP Header section set like 
Authorization as key 
and value as - Bearer <your actual bearer token> 

Dhanola
Explorer
0 Kudos

ok i have done as you said but can also tell me how to test this settings if working, just same as i was fetching the data from postman. i am passing a simple SFDC SOQL query to fetch data from account table

Dhanola_0-1723122228409.png

 

 

ShaikAzmathulla
Active Participant
0 Kudos