Hello,
I googled thoroughly but there is hundred examples from ASP.NET but nothing about ASP.NET Core.
In order to getting password reset work I need to registe
You can specify one of the built in providers;
services.AddIdentity(options =>{
options.Tokens.PasswordResetTokenProvider = TokenOptions.DefaultEmailProvider;
})
.AddDefaultTokenProviders();
Or create your own IUserTwoFactorTokenProvider and register it like so;
services.AddIdentity(options => {
options.Tokens.PasswordResetTokenProvider = nameof(MyTokenProvider);
})
.AddTokenProvider(nameof(MyTokenProvider));