hi Buckoge
We may need to use some variables or expressions in the template. I think it is best to have someone who knows a little bit about programming maintain the template.
hi
You can inject the logger
and write some error logs in your MyRemoteServiceConfigurationProvider
.
then check it in the browser console.
hi mahuwei Please create a new question and share your problem details. Thanks.
hi
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IRemoteServiceConfigurationProvider), typeof(RemoteServiceConfigurationProvider))]
public class MyRemoteServiceConfigurationProvider
https://abp.io/docs/latest/framework/fundamentals/dependency-injection#combining-all-together
hi
Try to create a MyRemoteServiceConfigurationProvider
to override and replace it.
hi
We have the PR to replace tenant name.
https://github.com/abpframework/abp/pull/18592
{0}
will replaced by the current tenant name.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationProvider.cs#L34-L53
Can you debug this method in local?
hi
I have checked.
The https://greentherm.safetyplus-xxx.com
can access Cookies from .xxxplus-dev.com
So you can try to change the BaseUrl from https://safetyplus-xxx.com to https://greentherm.safetyplus-xxx.com
or https://{{tenantName}}.safetyplus-xxx.com
, also https://{0}.safetyplus-xxx.com
hi
IDX20803: Unable to obtain configuration from: 'https://extranetapp.cinca.porc01:44334/.well-known/openid-configuration'.
The error is very clear. Can you check if https://extranetapp.cinca.porc01:44334/.well-known/openid-configuration is reachable in the container?
hi
You can inject the IOrganizationUnitRepository
or IBasicRepository<OrganizationUnit, Guid>
Using IOrganizationUnitRepository
is the recommended way.