Ends in:
7 DAYS
17 HRS
1 MIN
22 SEC
Ends in:
7 D
17 H
1 M
22 S

Activities of "sukeshchand"

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?

Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06