cancel
Showing results for 
Search instead for 
Did you mean: 

How to provide authorization to C4C standard OData?

dpksghl_30
Participant
0 Kudos

Hello,

We want standard C4C OData (c4codataapi) to be consumed by a third party application. Now for authentication purpose we want to provide a single communication user but I am not sure what need to be configured from C4C for that.

I also tried to create a communication system with third party host name but now we do not have any standard communication scenario for OData available like we have for SOAP services.Please let me know is there any way to achieve it in C4C currently.

Is OAuth 2.0 Authorization will work in this case as it looks that's something related to single sign on configuration?

Thank you!

Regards,

Deepak Singhal

Accepted Solutions (0)

Answers (2)

Answers (2)

VishnAndr
Active Contributor

#21 from this faq note 2325562 - Frequently Asked Questions on OData Services confirms that you need business user to consume odata. Not a communication user.

dpksghl_30
Participant
0 Kudos

Hi Andrei,

Thanks for response and sharing FAQs link, but if I use a business user for authentication, will it not be expired after a certain period?

Regards,

Deepak Singhal

VishnAndr
Active Contributor

Hi Deepak,

What exactly do you expect to expire after a certain period? The password of this user? If so, it depends on the password policy you have assigned to this user.

DAcker
Contributor
0 Kudos

Hi 380bac697e274c14b0bf3ca56bd5603e , hi desgl ,
since release 1911 technical user for C4C OData API are possible.
See this blog: https://blogs.sap.com/2019/12/03/integration-user-for-odata-services-in-sap-cloud-for-customer/

In my scenario I want to use the OData API for the integration of C4C and SAC. There are two connections possible, on master data OData or on Analytics OData.
Unfortunately, the Analytics OData is still only possible for business users, not for technical users. So this, will block us a complete license.
Here the SAP documentation link:
https://help.sap.com/docs/SAP_CLOUD_FOR_CUSTOMER/66e9a9081a7b40e38c8604d6617d0311/ddb9bc5e63ad4333b4...

380bac697e274c14b0bf3ca56bd5603e There is no other possibility for technical users and the analytics use case, you eventually know about?



Best regards, Deborah

Kinsbrunner
Active Contributor
0 Kudos

Hi Deepak,

Client applications using the C4C OData API, have four options for providing authorization and authentication for their users: Basic Authentication, OAuth 2.0, X.509 or SAML (Security Assertion Markup Language) based single sign-on.

Using OAuth 2.0 requires a trust relationship to be configured between SAP Cloud for Customer and the identity provider of your client application in the Administrator Work Center.

For details, feel free to access into SAP Cloud for Customer OData API Developer’s Guide or even refer to the SAP Cloud for Customer Administrator Guide.

Regards.

Alejandro.

dpksghl_30
Participant
0 Kudos

Hi Alejandro,

Thanks for the reply,

Actually we do not have identity provider for client application and I just want basic authentication for standard OData in this case.

Currently we are allowing to use business user credentials for authentication but it will expire after sometime, so is there any workaround to configure a single comm user in this case?

Thanks you!

Regards,

Deepak Singhal