abp icon indicating copy to clipboard operation
abp copied to clipboard

TenantKey is configurable and cannot be hardcoded.

Open maliming opened this issue 6 years ago • 1 comments

__tenant parameter name can be changed using AspNetCoreMultiTenancyOptions.

services.Configure<AspNetCoreMultiTenancyOptions>(options =>
{
    options.TenantKey = "MyTenantKey";
});

https://github.com/abpframework/abp/blob/33a450bb621de36517c7943d261a063b3accf4a4/npm/ng-packs/packages/core/src/lib/interceptors/api.interceptor.ts#L29

maliming avatar Oct 10 '19 07:10 maliming

Thank you @maliming for reporting this. Added it to backlog.

hikalkan avatar Oct 13 '19 16:10 hikalkan

in the angular app, tenant key is already configuratable via token or option. (almost v5.3)

https://github.com/abpframework/abp/blob/rel-7.0/npm/ng-packs/packages/oauth/src/lib/interceptors/api.interceptor.ts

I think we can close the issue

mahmut-gundogdu avatar Mar 23 '23 16:03 mahmut-gundogdu