A0 v10.2.0 Angular- single solution .NET5
In short, we cannot get this feature to work. Wildcard DNS and SSL cert are configured and working properly. The A0 instance responds to all subdomains and the primary domain of "mydomain.com" We have set ClientRootAddress and ServerRootAddress to https://{TENANCY_NAME}.mydomain.com, and used the same value for the remoteServiceBaseUrl and appBaseUrl in the Angular appconfig.production.json. Before modifying the Angular production config the tenant switcher still showed up for the mydomain.com and all subdomains, so any tenant could be selected. After modifying the Angular config the switcher no longer displays, but the tenant is still not being pulled from the subdomain. The old tenantId cookie persists from the switcher, and upon clearing browser data or trying to log in via a private window the tenant is lost. As an aside, the site will respond to any subdomain whether it is associated with a tenant or not. What are we missing to get this working properly?
3 Answer(s)
-
0
Hi @tusksoft
Could you share the production app URL ? If this is private, could you share it with [email protected] ?
Thanks,
-
0
Shared via email.
-
0
Hi @tusksoft
Replied to your email.
Thanks,