Skip to content

Latest commit

 

History

History
84 lines (54 loc) · 1.6 KB

bind-the-multitenant-application-and-application-router-to-the-xsuaa-service-instance-f56d74d.md

File metadata and controls

84 lines (54 loc) · 1.6 KB

Bind the Multitenant Application and Application Router to the xsuaa Service Instance

Bind your multitenant application and the approuter application to the SAP Authorization and Trust Management service (technical name: xsuaa) instance, which acts as an OAuth 2.0 client to your application.

Procedure

Execute the following commands in the Cloud Foundry command line interface to bind both your multitenant application and the approuter application to the xsuaa service instance.

cf bind-service <APP_NAME> <XSUAA_INSTANCE_NAME>
cf bind-service <APPROUTER_APP_NAME> <XSUAA_INSTANCE_NAME>

Specify the following parameters:

Parameter

Description

APP_NAME

The name of the deployed multitenant application.

XSUAA_INSTANCE_NAME

The name of the xsuaa service instance you created in Develop the Multitenant Application.

APPROUTER_APP_NAME

The name of the xsuaa application you deployed in Configure the approuter Application.

Sample Code:

cf bind-service saas-app xsuaa-application

cf bind-service approuter-saas-app xsuaa-application

Tip:

You can also bind the application to the xsuaa service instances directly in the SAP BTP cockpit.