SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Create and Configure the Approuter Application for a Multitenant Application

Use the tenant-aware approuter application in SAP BTP, Kyma runtime.

Overview

You will learn

  • What is SAP Application Router
  • How to create and configure Application Router
  • How to configure Destination for Application Router in Kyma runtime
  • How to describe Kubernetes objects for Application Router

More from Thomas Jung

See all 226 tutorials by Thomas Jung →

Prerequisites

Prerequisites

Steps

Step 1 Get to know SAP Application Router

Each multitenant application has to deploy its own SAP Application Router (also knows as Approuter), and the application router handles requests of all tenants to the application. The application router is able to determine the tenant identifier out of the URL and then forwards the authentication request to the tenant User Account and Authentication (UAA) service and the related identity zone.

When a consumer accesses the application, their consumer tenant calls the multitenant application via the application router with their tenant-specific URL. The application router then derives the tenant from the URL and calls the tenant-aware XSUAA (containing the user account and authentication service), which is responsible for the authentication of the business user. The XSUAA reads the tenant and gets the customer-specific identity provider (IdP) from the tenant-specific identity zone. Then, the XSUAA delegates the authentication to the configured IdP, and creates a JSON Web Token (JWT) that contains the tenant, the current user, and the authorization scopes of the user. The JWT is then sent back to the application router, and from there to the application.

Step 2 Create Approuter Application
+
Step 3 Configure Route in Approuter Application
+
Step 4 Determine SAP BTP Subaccount Subdomain and Cluster Domain
+
Step 5 Configure Destination with ConfigMap
+
Step 6 Define Deployment
+
Step 7 Define Service and APIRule
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Get to know SAP Application Router 2. Create Approuter Application 3. Configure Route in Approuter Application 4. Determine SAP BTP Subaccount Subdomain and Cluster Domain 5. Configure Destination with ConfigMap 6. Define Deployment 7. Define Service and APIRule
Next