AuthEndpoints 3.0.0
See the version list below for details.
dotnet add package AuthEndpoints --version 3.0.0
NuGet\Install-Package AuthEndpoints -Version 3.0.0
<PackageReference Include="AuthEndpoints" Version="3.0.0" />
<PackageVersion Include="AuthEndpoints" Version="3.0.0" />
<PackageReference Include="AuthEndpoints" />
paket add AuthEndpoints --version 3.0.0
#r "nuget: AuthEndpoints, 3.0.0"
#:package AuthEndpoints@3.0.0
#addin nuget:?package=AuthEndpoints&version=3.0.0
#tool nuget:?package=AuthEndpoints&version=3.0.0
AuthEndpoints
AuthEndpoints is an ASP.NET Core library of ready-made auth API endpoints on top of Identity. It fits a first-party auth API for web and mobile clients (React, Next.js, Vue, Nuxt, Svelte, native apps, and similar) with email/password, cookies, JWT, and/or passkeys.
- Ready-made endpoints for registration, login, password reset, 2FA, and session/token flows
- Opinionated quick start with
AddAuthEndpoints/UseAuthEndpoints/MapAuthEndpoints - Account lifecycle: register, confirm email, forgot/reset password, manage info and 2FA, step-up ReAuth
- Sign-in stacks you choose: cookie sessions, Identity bearer tokens, or Simple JWT
- Passkeys (WebAuthn) for passwordless register and login
- Built-in hardening: rate limiting, antiforgery, lockout-aware login, hashed JWT refresh tokens with reuse detection
- Optional package
AuthEndpoints.External.OAuthfor GitHub/Google OAuth
Getting started
Requires .NET 10, ASP.NET Core Identity, and EF Core.
dotnet add package AuthEndpoints
builder.Services.AddDbContext<AppDbContext>(/* your provider */);
builder.Services.AddAuthEndpoints<AppUser, AppDbContext>(o =>
{
o.Passkeys.ServerDomain = "example.com"; // required in Production
});
builder.Services.AddTransient<IEmailSender<AppUser>, MyEmailSender>();
var app = builder.Build();
app.UseAuthEndpoints();
app.MapAuthEndpoints<AppUser>();
app.Run();
Documentation
For configuration, composable modules, route tables, and production guidance, see the AuthEndpoints documentation.
Contribute
Issues and pull requests are welcome. Open an issue at madeyoga/AuthEndpoints to report bugs or propose changes.
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.2)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 10.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AuthEndpoints:
| Package | Downloads |
|---|---|
|
AuthEndpoints.External.OAuth
Minimal API endpoints for external OAuth authentication (GitHub, Google) with ASP.NET Core Identity |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 3.0.1 | 35 | 8/28/2026 | |
| 3.0.0 | 62 | 8/27/2026 | |
| 3.0.0-rc.4 | 65 | 8/2/2026 | |
| 3.0.0-rc.3 | 58 | 7/30/2026 | |
| 3.0.0-rc.2 | 98 | 7/25/2026 | |
| 3.0.0-rc.1 | 60 | 7/25/2026 | |
| 3.0.0-alpha.11 | 63 | 7/24/2026 | |
| 3.0.0-alpha.8 | 317 | 12/20/2025 | |
| 3.0.0-alpha.7 | 241 | 12/19/2025 | |
| 3.0.0-alpha.6 | 386 | 12/19/2025 | |
| 3.0.0-alpha.5 | 313 | 11/23/2025 | |
| 3.0.0-alpha.4 | 314 | 11/10/2025 | |
| 3.0.0-alpha.1 | 249 | 10/16/2025 | |
| 2.2.0 | 1,512 | 9/24/2022 | |
| 2.1.1 | 1,287 | 9/9/2022 | |
| 2.1.0 | 1,302 | 9/9/2022 | |
| 2.0.2 | 1,359 | 9/3/2022 | |
| 2.0.1 | 1,274 | 8/31/2022 | |
| 2.0.0 | 1,305 | 8/22/2022 | |
| 1.7.0 | 1,317 | 8/10/2022 |
AuthEndpoints 3.0: opinionated AddAuthEndpoints/UseAuthEndpoints/MapAuthEndpoints facade; cookie, Identity bearer, and Simple JWT sign-in; passkeys (WebAuthn) with pluggable IPasskeySignInCompleter; 2FA; ReAuth step-up; .NET 10.