I am trying to setup a tenant integration where the tenant will login via the API and retrieve and post data.
I do not see any specific method of how the Login is managed for Tenants.
The token auth does not have a field for the tenants as well.
Could you please assist with guidance on how to do an API login with a tenant? I would assume the tenant Id gets specified somewhere?
Regards, Gideon Badenhorst
You need to send tenantId value in
Abp.TenantIdrequest header. You can check https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Infrastructure-Core-Mvc-Token-Based-Authentication