I have a problem with sub domain configuration for multi-tenancy.
Everything seems working except that when I use the tenant name, it always goes to the admin tenant regardless of the tenant name mentioned inthe sub domain.
I used the configuration exactly in the angular app & the apis app.
What can I be missed?
3 Answer(s)
-
0
Hi @Homam,
can you share your config files both for angular and host projects ?
-
0
Host Project "App": { "ServerRootAddress": "https://workiom-web-dev.azurewebsites.net", "ClientRootAddress": "https://{TENANCY_NAME}.workiom.com", "CorsOrigins": "http://localhost:4200,http://localhost:49152" },
Angular { "remoteServiceBaseUrl": "https://workiom-dev.azurewebsites.net", "appBaseUrl": "https://{TENANCY_NAME}.workiom.com" }
Note, I applied it only on the web project. The APIs are on a differet machine.
-
0
Hi @Homam,
Your host project uses
"ServerRootAddress": "https://workiom-web-dev.azurewebsites.net"
but angular project uses
"remoteServiceBaseUrl": "https://workiom-dev.azurewebsites.net"
could it be the problem ?