0
AuroraBMS created
Good day,
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
1 Answer(s)
-
0
Hi @AuroraBMS,
You need to send tenantId value in
Abp.TenantId
request header. You can check https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Infrastructure-Core-Mvc-Token-Based-Authentication