AuthEndpoints 3.0.6
See the version list below for details.
dotnet add package AuthEndpoints --version 3.0.6
NuGet\Install-Package AuthEndpoints -Version 3.0.6
<PackageReference Include="AuthEndpoints" Version="3.0.6" />
<PackageVersion Include="AuthEndpoints" Version="3.0.6" />
<PackageReference Include="AuthEndpoints" />
paket add AuthEndpoints --version 3.0.6
#r "nuget: AuthEndpoints, 3.0.6"
#:package AuthEndpoints@3.0.6
#addin nuget:?package=AuthEndpoints&version=3.0.6
#tool nuget:?package=AuthEndpoints&version=3.0.6
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(cookie by default, Identity bearer viaAuthEndpointsSignIn.IdentityBearer) - 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.
AI agents
Add the coding-agent skill from this repository:
npx skills add madeyoga/AuthEndpoints
See AI agents.
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 (4)
Showing the top 4 NuGet packages that depend on AuthEndpoints:
| Package | Downloads |
|---|---|
|
AuthEndpoints.OAuth.GitHub
GitHub OAuth provider for AuthEndpoints. Registers the GitHub handler only. Map routes with MapExternalAuthProvider. |
|
|
AuthEndpoints.OAuth.Google
Google OAuth provider for AuthEndpoints. Registers the Google handler only. Map routes with MapExternalAuthProvider. |
|
|
AuthEndpoints.External.OAuth
Forwarding shim. The external OAuth endpoints moved into AuthEndpoints 4.0. Remove this package reference; no code changes are needed. |
|
|
AuthEndpoints.OpenIddict
Opt-in OAuth 2.0 and OpenID Connect authorization server for AuthEndpoints apps, built on OpenIddict. Authorization code + PKCE (S256), rotating refresh tokens, a host-rendered consent step, opt-in ID tokens, userinfo, and logout, and optional dynamic client registration. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.3.0 | 70 | 11/21/2026 |
| 4.2.0 | 68 | 11/20/2026 |
| 4.1.1 | 303 | 11/11/2026 |
| 4.1.0 | 357 | 10/31/2026 |
| 4.0.4 | 807 | 10/27/2026 |
| 4.0.3 | 116 | 10/23/2026 |
| 4.0.2 | 106 | 10/20/2026 |
| 4.0.1 | 110 | 10/18/2026 |
| 4.0.0 | 765 | 10/15/2026 |
| 3.4.1 | 119 | 10/12/2026 |
| 3.4.0 | 115 | 10/12/2026 |
| 3.3.1 | 105 | 10/12/2026 |
| 3.3.0 | 112 | 10/11/2026 |
| 3.2.0 | 238 | 10/8/2026 |
| 3.1.1 | 115 | 10/4/2026 |
| 3.1.0 | 275 | 9/20/2026 |
| 3.0.8 | 142 | 9/19/2026 |
| 3.0.7 | 171 | 9/8/2026 |
| 3.0.6 | 136 | 9/7/2026 |
| 3.0.5 | 152 | 9/6/2026 |
Simple JWT refresh rotation is atomic under concurrent requests.