cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

OAuth 2.0 Client Type in S4HANA Cloud Public

KhaingZinTun
Participant
0 Kudos
231

When I create inbound user in Communication System, OAuth 2.0 Client Type and Grant Type is auto shown as below:

KhaingZinTun_0-1760007859224.png

Can't we change Grant type to Client Credentials? Is there any ways to change?

Best Regards,

Khaing Zin

Accepted Solutions (0)

Answers (1)

Answers (1)

Chuma
Active Contributor
0 Kudos

Hello @KhaingZinTun 

In S/4HANA Public Cloud, the screen is set to Public Client with Authorisation Code (PKCE), and switching to Client Credentials is not possible. SAP’s official documentation on PKCE public clients for inbound OAuth in Communication Systems/Arrangements confirms these fixed settings, with no option to change the grant type to Client Credentials.SAP Help Portal-Enabling Public OAuth Clients (PKCE) for Inbound Communication Scenarios

For server-to-server communication without user interaction, SAP’s recommended approach is to call S/4HANA Cloud through SAP BTP Destinations using OAuth2SAMLBearerAssertion (or Basic/Client Certificate where applicable), rather than using Client Credentials within S/4HANA’s inbound user.SAP Community-OAuth2SAMLBearerAssertion Flow with the SAP BTP Destination Service. S/4HANA Cloud.

Let me know if you need further information

With best regards

Chuma