Skip to content

AuthHub is a production-ready authentication API built with ASP.NET Core. It provides JWT authentication, refresh token flow, role-based authorization, email verification, rate limiting, and Docker support using clean architecture principles.

Notifications You must be signed in to change notification settings

gurkanusta/AuthHub

Repository files navigation

AuthHub

AuthHub is a secure authentication API built with ASP.NET Core 8.

It demonstrates real-world authentication patterns used in production systems.

What’s inside?

  • JWT Access Token + Refresh Token
  • Refresh tokens stored in database
  • Token refresh & rotation
  • Logout and Logout from all devices
  • Email confirmation
  • Change / Forgot / Reset password
  • Role-based authorization (Admin / User)
  • Account lockout (brute-force protection)
  • Rate limiting on auth endpoints
  • Admin API (user list, role assign, disable user)
  • Global exception handling
  • Built-in Swagger
  • Simple single-file test UI (index.html)

Tech Stack

  • .NET 8 (ASP.NET Core Web API)
  • Entity Framework Core + SQL Server
  • ASP.NET Identity
  • JWT Authentication

Purpose

This project was built to demonstrate backend authentication, security practices, and API design.


About

AuthHub is a production-ready authentication API built with ASP.NET Core. It provides JWT authentication, refresh token flow, role-based authorization, email verification, rate limiting, and Docker support using clean architecture principles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors