Starts in:
1 DAY
2 HRS
42 MIN
40 SEC
Starts in:
1 D
2 H
42 M
40 S
Open Closed

Multitenant filter on TenantId from API #1550


User avatar
0
rick@i-pulse.nl created

Hi,

We developed a productservice which is Multitenant. Managing this in the webportal works good and when I login as tenant, the products are saved under that tenant. For external applications we created the API client credentials and we are able to do API calls. But with this authorization no tenant setting/validation is done.

Is there an easy way that we can manage this out-of-the-box? I can add a tenantId in every request, but I was wondering if this is managed by ABP by default.


2 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    For external applications we created the API client credentials and we are able to do API calls.

    Since you are making external calls, there is no default handling for it. Base way is to add tenantId to requests headers manually as you have mentioned.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06