SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
β€’ Open full site

Set Up Inbound OAuth Client Credentials Grant Authentication for Senders Calling Integration Flows with SAP-Generated Certificate

Learn how to set up inbound authentication for sender systems calling an integration flow.

Overview

🎓 intermediate 40 min. SAP Integration SuiteIntermediateSAP Business Technology Platform

You will learn

  • βœ”The basics of OAuth authentication for Cloud Integration, capability of SAP Integration Suite.
  • βœ”How to configure the authentication workflow with a client certificate provided by SAP
  • βœ”How to design, deploy, and run a simple integration flow, where a sender system is calling the integration flow using the configured authentication workflow. In the related tutorial Set Up Inbound OAuth Client Credentials Grant Authentication for API Clients with SAP-Generated Certificate, we show you how to configure the same authentication process for API clients calling the Cloud Integration application programming interface.
Juliana Burger J Juliana Burger December 10, 2024
Created by December 10, 2024
Contributors

Prerequisites

Prerequisites

Steps

Intro

To authenticate a sender system to call an integration flow, various authentication options are supported. For more information, see OAuth with Client Credentials Grant for API Clients and OData API.

This tutorial exemplifies a 2-step authentication process. In general, you must configure both requests separately for your sender system.

  1. In the first call, the sender retrieves an access token from the SAP Business Technology Platform (SAP BTP) token server. For this step, the sender provides a client certificate.
  2. In the second call, the sender accesses the Cloud Integration runtime and is authenticated based on the access token. When authentication has been established, the integration flow is processed in the Cloud Integration runtime.

Authentication Process
Authentication Process

The application Postman is used to simulate a sender system.

During the course of this tutorial, you will design a simple integration flow and process the integration flow using the configured authentication option. When the integration flow is processed as expected, this will be the proof that you have configured the authentication setting correctly.


Step 1 Familiarize yourself with Postman
β€”

In this tutorial, the application Postman (version v9.16.0) is used as the sender. This Postman version provides a simplified user experience that allows you to configure the 2 requests described above in a single tab.

There are two options to create a client certificate for the first request (addressed at the token server): - Using any tool, for example, KeyStore Explorer - Getting a client certificate and key pair generated by SAP (when creating the associated service key on SAP BTP)

For more information, see Creating Service Instance and Service Key for Inbound Authentication.

In the example scenario, the sender calls the Cloud Integration runtime to process an integration flow.

Step 2 Define a Service Instance
+
Step 3 Define Service Key
+
Step 4 Prepare the Certificate and Key Content
+
Step 5 Upload Client Certificate and Key to the Sender
+
Step 6 Design and Deploy an Integration Flow
+
Step 7 Deploy an Integration Flow
+
Step 8 Configure and Run the Requests to the Integration Flow Endpoint and to the Token Server
+
Step 9 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 9
1. Familiarize yourself with Postman 2. Define a Service Instance 3. Define Service Key 4. Prepare the Certificate and Key Content 5. Upload Client Certificate and Key to the Sender 6. Design and Deploy an Integration Flow 7. Deploy an Integration Flow 8. Configure and Run the Requests to the Integration Flow Endpoint and to the Token Server 9. Test yourself

Learn more →