hi
we need to reduce some of the data in the response
You can replace the IAbpApplicationConfigurationAppService to reduce data from DTO if the current user is anonymous.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L27
Thanks.
hi
The ImpersonationService is an ABP service. You can inject it, no need to create ImpersonationService class.
import { ImpersonationService } from '@volo/abp.commercial.ng.ui/config';
Thanks,
hi
Can you share your code?
Have you injected ImpersonationService into your component/service?
Thanks.
hi
You can call the impersonateTenant or impersonateUser methods.
Thanks.
hi
You can try to use dotnet run command to run your Blazor app and see the output.
Thanks.
hi
Angular needs to call this API endpoint to initialize when the user is not logged in. You can't remove it.
https://abp.io/docs/latest/framework/api-development/standard-apis/configuration
This is by design.
Thanks.
hi
Can you share a project to reproduce this exception?
liming.ma@volosoft.com
Thanks.
hi
I have a custom users and tenant page,
MVC or Angular page?
Thanks.