hi
We fixed this problem with https://github.com/abpframework/abp/pull/19538
You can create an AbpEfCoreNavigationHelper based on the PR's code, then inject and use it in DbContext.
hi
I don't understand your situation very well. But you can use the repository to query and modify your data. The specific pages and business logic need to be designed by you.
https://docs.abp.io/en/abp/latest/Repositories
hi
You need to replace the built-in Login page and add your step2 choose tenant page.
The system will redirect to a page in authServer where the system will display a list of tenants that the user has been assigned to. user can choose from the tenants assigned to them.!
The redirect code exists on OnGetExternalLoginCallbackAsync method of Volo.Abp.Account.Pro.Public.Web/Pages/Account/Login.cshtml.cs.
so you redirect the user to your custom page on the OnGetExternalLoginCallbackAsync method.
then show the tenant list and set the new tenant for a new user.
You better download the source code of account pro to check the code.
hi
Can you try again, your email was not confirmed.
hi
There are two integration services in the microservices project.
IPermissionIntegrationService and IIdentityUserIntegrationService
It is easy to add a new integration service to your module. https://docs.abp.io/en/abp/latest/Integration-Services
You can give it a try. Feel free to give feedback if you have any problems.
Thanks.
hi
The tenant(TenantId) is set when a user is created.
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityUser.cs#L165
tenantTenantId of a user by ObjectHelpervar user = await UserManager.GetByIdAsync
ObjectHelper.TrySetProperty(user, x => x.TenantId, () => NewTenantId);
hi
I will check if I can reproduce it in a new 8.0 project.
Thanks.
The PR of ABP framework.
https://github.com/abpframework/abp/pull/19523
hi
I updated the code. Can you test the latest one?
I will try to find a better way.