Thanks for the help.
I found a way to do it. Override/Customize the SiginIn manager and implement the custom logic.
https://docs.abp.io/en/abp/2.9/How-To/Customize-SignIn-Manager
Hi,
Thanks for the replay,
Your replay is infomative,
The CustomEmailConfirmationTokenProvider
can be added from the ConfigureServices
.
public void ConfigureServices(IServiceCollection services)
{
services.AddIdentity<ApplicationUser, IdentityRole>(options =>
{
options.Tokens.EmailConfirmationTokenProvider = "CustomEmailConfirmation";
})
.AddEntityFrameworkStores<AbpDbContext>()
.AddDefaultTokenProviders()
.AddTokenProvider
<CustomEmailConfirmationTokenProvider<ApplicationUser>>("CustomEmailConfirmation");
}
}
But in the case of ABP.IO the IdentityServer and related properties are is configured in the Inherited ABP module
ProjectABPModule: AbpModule
{
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
**app.UseIdentityServer();**
My question is how do I change/configure CustomEmailConfirmationTokenProvider
from this AbpModule?