MFP Example
To determine IDCS_SCOPE
, refer to the tenant string portion (for example, rgbu-rap-cust-stg1-mfpscs
) of your cloud service URL (for example,https://rap.retail.us-ashburn-1.ocs.oraclecloud.com/rgbu-rap-cust-stg1-mfpscs/rpasceui/
)
Planning Cloud Service URL Patterns | SCOPE |
---|---|
|
|
|
|
Based on the tenant string (for example, rgbu-rap-cust-stg1-mfpscs
), the environment index is stg1
and the application is mfpscs
. For this combination, the IDCS scope will look like the configuration
below (ensuring it is in uppercase characters only):
IDCS_SCOPE = rgbu:rpas:psraf-MFPSCS-STG1
Create the OAuth Client in Retail Home with the following parameters:
-
App Name: MFP_STG1
-
Description: FTS for MFP on STG1
-
Scope 1: rgbu:rpas:psraf-MFPSCS-STG1
This generates an OAuth Client with details like this:
-
Oauth client:
-
App Name: MFP_STG1
-
Client Id: MFP_STG1_APPID
-
Client Secret: 6aae7818-309b-4e7a-874e-f26356a675b1
You will need to capture Client Id and Client Secret. So set the FTS script variables as follows:
BASE_URL="https://rap.retail.eu-frankfurt-1.ocs.oraclecloud.com"
TENANT="rgbu-rap-hmcd-stg1-mfpscs"
IDCS_URL="https://ociāiam-a4cbf187f29d4f41bc03fffb657d5513.identity.oraclecloud.com/oauth2/v1/token"
IDCS_CLIENTID="MFP_STG1_APPID"
IDCS_CLIENTSECRET="6aae7818-309b-4e7a-874e-f26356a675b1"
IDCS_SCOPE="rgbu:rpas:psraf-MFPSCS-STG1"