Skip to Content

Manage Cross-Domain Mapping

The steps mentioned in the tutorials are required if the domain of your email account and Google Workspace account is different.
You will learn
  • How do you manage cross domain mapping at the service instance level
Vikramkulkarni01Vikram KulkarniJune 19, 2023
Created by
Vikramkulkarni01
June 13, 2023
Contributors
Vikramkulkarni01

Prerequisites

Property Name Value
google.default_domain Enter the domain. For example, abcworkspace.com

Introduction

If your domains are different, we need to map your system user account to the Google Workspace domain. For example, if you’re using the domain abc.com (jhon.thane1@abc.com) and have a Google Workspace account with the domain abcworkspace.com (jhon.thane1@abcworkspace.com), you need to maintain cross-domain mapping

  • Step 1

    Copy the url: parameter from your service key.

    Copy_URL
  • Step 2
    1. Open the Postman. Click on New and then select HTTP Request to open a new tab on Postman to work on.
    Postman
    1. Select the POST method and enter the request URL as like this:
      <url>/rest/v2/configs.

      Example: You must ensure that you are appending the suffix /rest/v2/configs to the URL. So that the final sample request URL looks like this: https://api-abc-test.apps.sap.hana.ondemand.com/rest/v2/configs.

      req
    2. Navigate to Authorization tab and select the type Bearer Token. Enter the JSON web token that you generate in tutorial Generating the JSON Web Token (JWT).

      GWT_Token_Cross_Domain
    3. Navigate to the Body tab and copy paste the following code snippet.

      JSON
      Copy
      {
        "configName" : "isCrossDomainMappingAllowed",
        "configValue" : "true"
      }
      
      EnterCodeSnippet

      Click Send.

      Results: When a successful response is received, the status is 200 OK.

      Response_Status
  • Step 3

    When creating a HTTP destination for cross-domain mapping, what additional properties did you add?

Back to top