AuthEndpoints 3.0.0-alpha.1

This is a prerelease version of AuthEndpoints.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package AuthEndpoints --version 3.0.0-alpha.1
                    
NuGet\Install-Package AuthEndpoints -Version 3.0.0-alpha.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AuthEndpoints" Version="3.0.0-alpha.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AuthEndpoints" Version="3.0.0-alpha.1" />
                    
Directory.Packages.props
<PackageReference Include="AuthEndpoints" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AuthEndpoints --version 3.0.0-alpha.1
                    
#r "nuget: AuthEndpoints, 3.0.0-alpha.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AuthEndpoints@3.0.0-alpha.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AuthEndpoints&version=3.0.0-alpha.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=AuthEndpoints&version=3.0.0-alpha.1&prerelease
                    
Install as a Cake Tool

AuthEndpoints

nuget issues downloads workflow CodeFactor license

A simple auth library for aspnetcore. AuthEndpoints library provides a set of minimal api endpoints to handle basic & authentication actions such as registration, email verification, reset password, login, logout, etc.

swagger_authendpoints

Endpoints

  • Identity api:
    • sign-up
    • email verification
    • account info
    • reset password
    • forgot password
    • enable 2fa
    • login
    • logout
    • confirm identity
  • Simple JWT:
    • Create (login)
    • Refresh
    • Verify

Installing via NuGet

The easiest way to install AuthEndpoints is via NuGet

Install the library using the following dotnet cli command:

dotnet add package AuthEndpoints --version 3.0.0-alpha.1

or in Visual Studio's Package Manager Console, enter the following command:

Install-Package AuthEndpoints

Quick start

// Program.cs

builder.Services
    .AddIdentityApiEndpoints<AppUser>() // <--
    .AddRoles<AppRole>()
    .AddEntityFrameworkStores<AppDbContext>()
    .AddDefaultTokenProviders();

var app = builder.Build();

...

app.UseAuthentication(); // <--
app.UseAuthorization(); // <--

...

app.MapAuthEndpointsIdentityApi(); // <--

app.Run();

Documentations

Documentation is available at https://madeyoga.github.io/AuthEndpoints/ and in docs directory.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0-alpha.4 23 11/10/2025
3.0.0-alpha.1 167 10/16/2025
2.2.0 1,364 9/24/2022 2.2.0 is deprecated because it is no longer maintained.
2.1.1 1,209 9/9/2022 2.1.1 is deprecated because it is no longer maintained.
2.1.0 1,220 9/9/2022 2.1.0 is deprecated because it has critical bugs.
2.0.2 1,284 9/3/2022 2.0.2 is deprecated because it is no longer maintained.
2.0.1 1,180 8/31/2022 2.0.1 is deprecated because it is no longer maintained.
2.0.0 1,222 8/22/2022 2.0.0 is deprecated because it has critical bugs.
1.7.0 1,227 8/10/2022 1.7.0 is deprecated because it is no longer maintained.
1.6.0 1,211 8/8/2022 1.6.0 is deprecated because it is no longer maintained.
1.5.0 1,163 8/2/2022 1.5.0 is deprecated because it is no longer maintained.
1.4.9 1,234 7/30/2022 1.4.9 is deprecated because it is no longer maintained.
1.4.8 1,215 7/27/2022 1.4.8 is deprecated because it is no longer maintained.
1.4.7 1,315 7/17/2022 1.4.7 is deprecated because it is no longer maintained.
1.4.6 1,196 6/25/2022 1.4.6 is deprecated because it is no longer maintained.
1.4.5 1,207 6/20/2022 1.4.5 is deprecated because it is no longer maintained.
1.4.4 1,228 6/18/2022 1.4.4 is deprecated because it is no longer maintained.
1.4.3 1,179 6/16/2022 1.4.3 is deprecated because it is no longer maintained.
1.4.2 1,263 6/14/2022 1.4.2 is deprecated because it is no longer maintained.
1.4.1 1,247 6/11/2022 1.4.1 is deprecated because it is no longer maintained.
1.4.0 1,270 6/6/2022 1.4.0 is deprecated because it is no longer maintained.
1.3.0 1,225 6/2/2022 1.3.0 is deprecated because it is no longer maintained.
1.2.0 1,216 5/30/2022 1.2.0 is deprecated because it is no longer maintained.
1.1.0 1,226 5/26/2022 1.1.0 is deprecated because it is no longer maintained.
1.0.1 1,196 5/25/2022 1.0.1 is deprecated because it is no longer maintained.
1.0.0 1,235 5/24/2022 1.0.0 is deprecated because it is no longer maintained.