打开 关闭

Multi tenacy determined by domain on Microservice #2744


User avatar
0
renata.mendes 创建
  • ABP version: v5.1.4
  • UI type: Blazor
  • DB provider: EF Core

I want my application to have the multi tenancy functionality determined by domain. So I added the following code to the configureServices method of module Main Web Application and AuthServer. However, it no longer shows the options for managing clients scopes, saas and others. How do I get one of the tenants can to see all menu of Main Web Application with data of all tenants?

Configure<AbpTenantResolveOptions>(options => { options.AddDomainTenantResolver("{0}.com"); });


3 答案
  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    hi

    We have a demo

    https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver

  • User Avatar
    0
    renata.mendes 创建

    Hello, can you be more explicit in the answer? I couldn't how you allow a particular tenant to manage all information of others tenants.Thank you

  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    hi

    Microservices may not yet support using domain names as tenants. I will create an internal issue to resolve it.

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11