AuthEndpoints
Ready-made sign-up and sign-in endpoints for ASP.NET Core Identity: passwords, passkeys, GitHub and Google, two-factor codes, cookies, and tokens.
Program.cs
builder.Services.AddAuthEndpoints<AppUser, AppDbContext>(o => { o.Passkeys.ServerDomain = "example.com"; }); builder.Services.AddTransient<IEmailSender<AppUser>, MyEmailSender>(); var app = builder.Build(); app.UseAuthEndpoints(); app.MapAuthEndpoints<AppUser>();
What AuthEndpoints can do
Each capability links to the guide that shows you how to use it.
Map auth in minutes
Start with the facade, then compose modules when you need custom paths or a JWT-only stack.