Activities of "datdv1"

Hi liangshiwei! Thanks guide for me. I have one more question. The configure subdomain for tenant in angular application required to domain 2nd level?

Hi, As instructed in your documentation, we can determine current tenant either by subdomain (like mytenant1.mydomain.com) or by the whole domain (like mytenant.com). But there’s no example of determining current tenant by the whole domain. It’s highly appreciated if you coud help me configure the AbpTenantResolveOptions to determining current tenant by his whole domain. For example, we have the following domains: -) For Host side:

  • Public website: logiplat.net
  • Angular app: app.logiplat.net;
  • API server: api.logiplat.net
  • Authenticate server: auth.logiplat.net

-) For Tenant 1:

  • Public website: ticogroup.com
  • Angular app: app.ticogroup.com;
  • API server: api.ticogroup.com
  • Authenticate server: auth.ticogroup.com

-) For Tennant 2

  • Public website: everwin.com
  • Angular app: app.everwin.com;
  • API server: api.everwin.com
  • Authenticate server: auth.everwin.com Please, guide me how to configure the AbpTenantResolveOptions in order to determine current tenant by the whole domain. Thank you in advance!

Hi liangshiwei! How to configure when resolver Host tenant in angular project and public website project? Can you help me?

Hi liangshiwei! Can you help me for this?

Hi, Yes, it works in Authen project and Host project on AKS, cannot work on angular application project and web public project

Here is the screen shot angular:

Host tenant

my tenant:

Here is the screen shot web public:

Host teannt;

my tenant:

Here is the screen shot authen:

Host tenant:

my tenant:

Hi liangshiwei! We onle see the problem happen on cloud (after deploy to AKS(Azure Kubenetes service)) Can I share you sreen shot error and current config?

Hi liangshiwei! Currently, I'm configuring multitenant with AbpTenantResolveOptions AddDomainTenantResolver and custom contributor class. Here is the code:

this document: https://docs.abp.io/en/abp/latest/UI/Angular/Multi-Tenancy I used below code to configure multi tenant on angular project and public website project. Here is the code:

config on public website:

Currently, this is not working. Can you support me for this?

Hello I would like to ask about angular in multi tenants Could you please tell me how to config seprate domain for each tenant for angular? Should I config multi dynamic-env-json? Do you have any sample repository?

Hi jfistelmann

Currently I extend from this class TenantResolveContributorBase Then I can get the scope by using "context.ServiceProvider.CreateScope()" I can get the current tenant, but i cannot change tenant based on the teant that I get Am I right to use the code below? Could you tell me how to change the current tenant info?

here is the code:

Hi liangshiwei

Currently I extend from this class TenantResolveContributorBase Then I can get the scope by using "context.GetHttpContext().Request.Host.Host;" I can get the current tenant, but i cannot change tenant based on the teant that I get Am I right to use the code below? Could you tell me how to change the current tenant info?

here is the code:

Showing 71 to 80 of 109 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 05:21