C#C
C#2y ago
Pesqoo

✅ Identity without ApiEndpoints

Hello, is it possible to use Identity without the services.AddIdentityApiEndpoints?
Right now I use
services.AddIdentityApiEndpoints<User>()
    .AddEntityFrameworkStores<RecipeDbContext>();

but if i use it like this to not use the endpoints
services.AddIdentity<User, IdentityRoles>()
    .AddEntityFrameworkStores<RecipeDbContext>();


I get an error that the service IEmailSender cannot be found. But I do not even want to send emails?!
Was this page helpful?