See https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement#how-to-replace-a-layout. You should replace AccountLayoutComponent
.
Are you using razor page or angular UI?
Hi
I find the problem, In a production environment you should use a trusted https certificate.
Check your .Api.Host
logs, you can see the Unable to obtain configuration from: xxx
error message.
If your don't have any https certificate, you can use the development certificate provided by ASP.NET Core in IIS :
Open your browser and navigate to https://localhost
:
Now, it's works fine.
currently can't to get the setting definition without dependency. But you can directly inject ISettingRepository
in your service.
Hi
I see your debug project is .IdentityServer
project, Did you call the DDC.Core
module in this project?
If so, your need add BackendServiceApplicationContractsModule
to this project module class dependencies, because SettingDefinitionManager
get SettingDefinition
from Dependency injection container.
Hi @ hiltond,
Try using tiered template.
Hi @thanhvl1@fsoft.com.vn,
Can you provide complete steps to reproduce the problem?
Hi ,
Try move your settingProvider to .Application.Contracts
project.
First , you need to pass the token to the remote service. See https://docs.abp.io/en/abp/latest/Samples/Microservice-Demo#passing-the-access-token-1.
But it still returns unauthorized, you need to separate authorization server. like microservce example : https://github.com/abpframework/abp/tree/dev/samples/MicroserviceDemo/applications/AuthServer.Host
When I find other solution, I will reply.