hi
You need to define the Features in your module.
https://docs.abp.io/en/abp/latest/Features https://docs.abp.io/en/abp/latest/Features#featuredefinitionprovider
hi Ravisha
But I don't see tenant switch option in the login page. so how do i add my link to the other tenant.
After you use the domain name to resolve the tenant, you can only manually change the url.
Change https://t1.abptest.com to https://t2.abptest.com.
hi simix.markus
I can generate the abp-translation.json file of pt-BR and send to you.
Please send me a mail: liming.ma@volosoft.com
hi
Please check this demo https://github.com/abpframework/abp-samples/tree/master/DocumentationSamples/ExtendLocalizationResource
hi Ravisha
Can you share some screenshots about "my link user"? Thanks
hi lalitChougule
Please create a class that repleace IdentityUserManager in you test project instead of mock it.
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IdentityUserManager))]
public class MyIdentityUserManager : IdentityUserManager
{
public MyIdentityUserManager(IdentityUserStore store, IIdentityRoleRepository roleRepository,
IIdentityUserRepository userRepository, IOptions<IdentityOptions> optionsAccessor,
IPasswordHasher<IdentityUser> passwordHasher, IEnumerable<IUserValidator<IdentityUser>> userValidators,
IEnumerable<IPasswordValidator<IdentityUser>> passwordValidators, ILookupNormalizer keyNormalizer,
IdentityErrorDescriber errors, IServiceProvider services, ILogger<IdentityUserManager> logger,
ICancellationTokenProvider cancellationTokenProvider,
IOrganizationUnitRepository organizationUnitRepository, ISettingProvider settingProvider) : base(store,
roleRepository, userRepository, optionsAccessor, passwordHasher, userValidators, passwordValidators,
keyNormalizer, errors, services, logger, cancellationTokenProvider, organizationUnitRepository,
settingProvider)
{
}
public override Task<IdentityUser> FindByIdAsync(string userId)
{
if (userId == "39faa1bb-6509-6a7d-b17f-0deee2cf47db")
{
return Task.FromResult(new IdentityUser( //...))
}
return base.FindByIdAsync(userId);
}
}
hi gvnuysal
Can you check if there is a bearer token in the request header?
hi
You can implementation your own AWSSESEmailSender, Just like MailKitSmtpEmailSender .
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MailKit/Volo/Abp/MailKit/MailKitSmtpEmailSender.cs#L15 https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MailKit/Volo/Abp/MailKit/AbpMailKitModule.cs https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MailKit/Volo/Abp/MailKit/IMailKitSmtpEmailSender.cs https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MailKit/Volo/Abp/MailKit/AbpMailKitOptions.cs
services.Replace(ServiceDescriptor.Transient<IClientConfigurationValidator, AbpClientConfigurationValidator>()); There is no method called Replace() IcollectionService.
using Microsoft.Extensions.DependencyInjection.Extensions;
So I manually updated the database table and after that cors issue resolved.
You shouldn't do that, These extension methods will handle it. Please refer to the demo I provided above.
AddAbpStrictRedirectUriValidator
AddAbpClientConfigurationValidator
AddAbpWildcardSubdomainCorsPolicyService
now "my link user" feature is will not working between the tenants.
Can you explain? Is there any error or somthing?
We have requirement one user can login to multiple tenants with same user createntials or different credeantilas, how do we resolve this.
If this is a new question, please create a new thread.
hi Abdulhakim
Can you use the latest app-pro project to reproduce the problem and share detailed steps?