cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI OAUth 2.0 Authorization code connection to Sales force

0 Kudos

Hi Folks,

Salesforce authenticates with OAuth 2.0 using grant_Type "Authorization code". But in the security material with the option "Create OAuth2 Authorization Code" we get provide name as Microsoft 365. How do we setup these connections?

Regards

Kalyan.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

I used basic credential + Client credentials in the SAP SFDC adapter (from Rojo Consulting) and it worked

former_member226
Employee
Employee
0 Kudos

Hi,

As mentioned on official CPI documentation, "OAuth2 Authorization Code" is only supported for Microsoft as of now. Hence there are other ways to deal with it:

1. Use SAP OpenConnector and route your request through it,

2. Use API management capability and generate the Authorisation code there and consume the API management proxy endpoint in CPI

3. (Not sure if) "OAuth2 Authorization Code" generates a header that can be simply injected using content-modifier.