hi
You can take a look this: https://identityserver4.readthedocs.io/en/latest/quickstarts/1_client_credentials.html
hi
I think they are very similar. You can download and check the source code of lepton.
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