APIs in our other projects can send requests here and perform tenant and auth authentications in these services. We want to make this screen design service work the same way. What settings do we need to make?
you should add the AbpAspNetCoreMvcClientModule
module dependency. and config remote service
Hi,
I guess there is no currentTenant on the server.
You can try writing log:
Logger.LogInformation("CurrentTenant Id"+ CurrentTenant.Id);
Logger.LogInformation("CurrentTenant Name"+ CurrentTenant.Name);
and could you please share the HTTP request body?
also when i open the project in abp suite its throwing this error
Is your CLI and Suite 8.3.3 version too? You can try remove project from suite and re-add it.
Hi,
Thanks, I can login to datadog, how do I to use it to check.
Because there is no saas module, ABP can't get the tenant data from TenantStore
See:
https://abp.io/docs/latest/framework/architecture/multi-tenancy#configuration-data-store
if you don't want to depend on saas module, you can try override the DefaultTenantStore
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(ITenantStore))]
public class MyTenantStore : ITenantStore, ITransientDependency
{
.....
public Task<TenantConfiguration> FindAsync(Guid id)
{
return Task.FromResult(new TenantConfiguration(){
Id = id,
Name = "...."
});
}
}
Hi,
I see; it could be a problem; we will check it.
Hi,
I'm not sure, but you can try to dynamically change the environment configuration https://abp.io/docs/latest/framework/ui/angular/environment
ABP gets oAuthConfig
from EnvironmentService
https://github.com/abpframework/abp/blob/dev/npm/ng-packs/packages/core/src/lib/services/environment.service.ts