cancel
Showing results for 
Search instead for 
Did you mean: 

Approuter multitenancy issue

Hi,

I have created an app router and deployed it to CF with the following configuration.

---
applications:
- name: ar-sample-saas-app
  host: ar-sample-saas-app-xxxxxxx
  path: approuter
  buildpack: nodejs_buildpack
  memory: 256M
  env:
    destinations: >
      [
        {"name":"sample-app-destination",
         "url":"https://sample-saas-app-xxxxxxx.cfapps.eu10.hana.ondemand.com",
         "forwardAuthToken": true}
      ]
    TENANT_HOST_PATTERN: "^(.*).eu10.hana.ondemand.com"
  services:
    - sample-saas-app-uaa

But when i try to access its URL i keep getting the following error.

The subdomain does not map to a valid identity zone.

Any suggestions on how to resolve this?

Thanks,

Akshay

marcmaurí
Participant
0 Kudos

Hello akshay.thakare.in,

I'm getting the same error. Did you solve the issue?

Thanks in advance,

Marc

former_member673109
Discoverer
0 Kudos

I am getting thesame error message

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

I'm getting the same error too. Any solution?

0 Kudos

Hi Marc,

CF does not allow *.eu10.hana.ondemand.com to be used for multi tenancy.

Thus we had to get a custom domain which allowed us internally to have a domain format like *.our_domain.eu10.hana.ondemand.com, which resolved the identity zone issue.


Here is the link to custom domain doc for more info.

https://help.sap.com/viewer/product/CUSTOM_DOMAINS/Cloud/en-US

Please note that your domain needs to support wildcards for this to work.

Best Regards,

Akshay

marcmaurí
Participant
0 Kudos

Hi Akshay,

thank you very much for your helpful and quick answer.

I'm going to take a look at it.

Kind regards,

Marc