hi Mohammad
I have checked. This is by design.
Your tenant's default connection string should contain the module tables that support multi-tenancy.
The tenant's default connection string means default, So it will no longer look for the connection string on the host side.
If you don't want this behavior, you can customize MultiTenantConnectionStringResolver
for some special cases of your.
I have disabled AccessTokenTenantResolver and trying to access the application it still cannot determine the tenant connection string from the database. It only happens when a connection string for a tenant is set in the database.
hi
Can you check the MultiTenantConnectionStringResolver
? I also check it if we remotely.
HI
That's why I need you to confirm the ICurrentTenant
.
So your AccessTokenTenantResolver
is not working.
The framework has some build in TenantResolver
https://docs.abp.io/en/abp/latest/Multi-Tenancy#determining-the-current-tenant
CurrentUserTenantResolveContributor: Gets the tenant id from claims of the current user, if the current user has logged in. This should always be the first contributor for the security.
hi
Can you copy the code of MultiTenantConnectionStringResolver
to debug to see what happend?
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/MultiTenantConnectionStringResolver.cs
hi
I think you can add a LicencesPermissionValueProvider
to implement your logic instead of override the PermissionChecker
class.
After that, the menu will be hidden/show base on the permissions.
https://docs.abp.io/en/abp/latest/Authorization#advanced-topics
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Permissions/UserPermissionValueProvider.cs#L7
hi
Can you take a look at this?
https://community.abp.io/articles/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n
hi
n. The Current Tenant Information is populated properly
Do you mean the ICurrentTenant
is changed? Can you confirm?
the connection string of the tenant is not changed based on the connection string set in the database.
Can you explain in details?
hi
but its not working on opera and browsers on apple devices.
Can you share the version info of browser?
Yes, but it is suitable for a console-like environment. You can try.
Angular( account UI) allow two flow: code(you're using.) and password.