on 10-19-2022 2:50 PM
Hello,
Some of the APIs published on api.sap.com, require oAuth2 authentication. I am trying to understand how that can be enabled for S/4HANA Cloud. Most of the documentation that SAP has published, relates to extending a standard API on BTP and how that extension can call API using oAuth2 (https://help.sap.com/doc/6ce62b6bdda340ffbeae3f138c3cb71b/SHIP/en-US/Set_Up_Authentication_for_SAP_S4HANA_Cloud_Extensions.pdf).
Suppose, the standard API is to be called without using a BTP extension, how does oAuth2 work? How to setup communication arrangement, user & secret to enable oAuth2 API directly to S/4HANA Cloud, from any external system?
Since IAS is responsible for authenticating the users, is IAS setup required to enable oAuth2 API calls (https://help.sap.com/docs/IDENTITY_AUTHENTICATION/6d6d63354d1242d185ab4830fc04feb1/44b0d28cf4fa4fb29c3333e77bb719da.html)?
In ECC or OnPremise S/4HANA systems, there is a transaction code SOAUTH2 to setup Client ID for oAuth2 calls. What is the equivalent process for S/4HANA Cloud (not involving BTP extensions development)?
Thanks
Hi Juwin
You would configure OAuth with your IDP in this case instead of BTP. This guide provides a pretty good description of the steps required and uses the sales order comm arrangement as an example: https://help.sap.com/doc/6ce62b6bdda340ffbeae3f138c3cb71b/SHIP/en-US/Set_Up_Authentication_for_SAP_S...
Let us know if it helps.
Marty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had referred to that document earlier. I had provided the link to that document in my question as well. That document talks specifically about Extensions on BTP.
Could you please clarify which particularly section of the document should we refer to, for IDP setup related to direct connectivity scenario?
User | Count |
---|---|
91 | |
9 | |
8 | |
7 | |
7 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.