on ‎2019 Oct 07 4:50 AM
Hi Team , I am trying to establish a connection between AWS API gateway to C4C . The purpose is , to fetch data from C4C Odata .
I have a predefined Odata service in C4C. I have generated client id and client secret . I wish to send this data initially from postman to get a token from C4C . Then further use the token to "get" data out of c4c .I have already gone through the links and since I am not using HCI , my case is slightly different.
https://answers.sap.com/questions/749397/how-to-access-c4c-odata-api-from-aws.html
https://myxxxxx.crm.ondemand.com/sap/bc/sec/oauth2/token .
I tried encoding the client id and client secret to base 64 and then passing the same in postman , but got the following error "{ "error":"invalid_client","error_description":"No OAuth 2.0 client authentication credentials included or used authentication method is unsupported. Supported authentication methods are specified in the ICF service configuration for the token endpoint in transaction SICF." } "
Can someone pls advice , what am I missing ? I am actually not sure what authentication input do I need to give to the token request url .
Thanks ,
Arnab.
Hi Experts , extended update to be more precise, where exactly do I get this authentication generated ?
reference(https://blogs.sap.com/2018/01/22/how-to-get-backend-server-response-times-from-odata-calls-in-c4c/)

Request clarification before answering.
Not yet solved, but the alternative approach was to use the 1911 Odata authentication method. We have to understand one point . Just because C4C has a feature , it is not guaranteed ( nice to have though ) that it will be compatible to AWS. Similarly just because there is a feature in AWS , it does not necessarily mean SAP products will support it . Most importantly AWS is only a partially matured tool for integration , and practices of software development do not have an apple to apple comparison with practices of integration development . 🙂 I will update this section once I complete the Odata stuff .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi arnab.mondal2 ,
I was going through this and tried the OAuth SAML2.0 based auth for OData API for an Application in SAP Cloud Platform. It works ok.
I know you are using AWS and not the SAP Cloud platform, but you can try use the steps for OAuth Identity provider and OAuth Client registration with your AWS stuff - May be it helps.
https://github.com/SAP/cloud-c4c-ticket-duplicate-finder-ext
Thanks,
Suchita
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.