Gustobg
1
Q:

No IUserTwoFactorTokenProvider<TUser> named 'Default' is registered.'

// startup.cs
public void ConfigureServices(IServiceCollection services)
{
  // ....
  services.AddIdentityCore<User, UserRole>()
    .AddEntityFrameworkStores<ApplicationDbContext>()
    .AddDefaultTokenProviders(); // Remember to add this line!
  // ....
}
0

New to Communities?

Join the community