Base solution for your next web application
Open Closed

Cannot resolve tenancy_name #7841


User avatar
0
mark.montesa created

Hi,

Weve been trying to use multitenancy but cannot determine the tenant through TENANCY_NAME from url. Were using aspnetzero 7.2. TENANCY_NAME from url should set the tenant on the login page.

Here is what we have on appconfig/appsetting. Angular: appconfig.json "remoteServiceBaseUrl": "http://{TENANCY_NAME}.domain1.com", "appBaseUrl": "http://{TENANCY_NAME}.domain.com",

Backend: appsetting.Production.json "ServerRootAddress": "http://{TENANCY_NAME}.domain1.com", "ClientRootAddress": "http://{TENANCY_NAME}.domain.com", appsetting.Staging.json "ServerRootAddress": "http://{TENANCY_NAME}.domain1.com", "ClientRootAddress": "http://{TENANCY_NAME}.domain.com",

Weve tried the solution/hack from https://support.aspnetzero.com/QA/Questions/6120 and its working. But we want the solution from your end.


8 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi Can you share the url of the angular and api websites?([email protected])

  • User Avatar
    0
    muleso created

    Hi,

    I have same issue. i use asp.net /jquery.

    My code is on git repo; advice you can help me.

  • User Avatar
    0
    maliming created
    Support Team

    @muleso Can you describe the problem you are experiencing in detail?

  • User Avatar
    0
    mark.montesa created

    Hi,

    We still cannot resolve the issue above on aspnetzero. What happens is even we passed the tenancy_name through subdomain it still cannot update the session to be used for specific tenant.

    Thanks for your help.

  • User Avatar
    0
    maliming created
    Support Team

    hi mark.montesa

    Can I see it remotely? Please send teamviewer connection information to [email protected]

  • User Avatar
    0
    mark.montesa created

    Hi maliming,

    I just sent you an email containing teamviewer connection.

    Thanks.

  • User Avatar
    0
    maliming created
    Support Team

    Application uses wrong DomainFormat due to environmental issues

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.