Getting Started
Installation
Add the AuthEndpoints NuGet package to your ASP.NET Core project.
NuGet package
dotnet add package AuthEndpoints
The badge tracks the published package. Release notes live in the changelog.
Requirements
| Requirement | Notes |
|---|---|
| .NET 10 | Target framework net10.0 |
| ASP.NET Core Identity | User store and sign-in |
| EF Core | Identity stores and JWT refresh-token table (when JWT is enabled) |
Your host must register a DbContext that can serve as the Identity store (typically IdentityDbContext<TUser> or a derived type).
Package contents
The AuthEndpoints package includes:
- Opinionated facade (
AddAuthEndpoints/UseAuthEndpoints/MapAuthEndpoints) - Identity management + cookie / bearer sign-in
- JWT (access token + HttpOnly refresh cookie)
- Passkeys (WebAuthn)
- ReAuth step-up
Optional: External OAuth
GitHub and Google OAuth ship in a separate preview package.
dotnet add package AuthEndpoints.External.OAuth --prerelease
See External OAuth. That package versions independently from core.
Next steps
Continue to Quick start to wire the facade in Program.cs.
AI agents can load a skill. See AI agents.