Skip to content

Aerys-cmd/General.Identity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General.Identity

Centralised authentication and authorisation service for internal .NET applications — JWT, refresh tokens, role-based access control.


What is General.Identity?

General.Identity is a standalone identity service designed to provide a single authentication and authorisation endpoint for multiple internal .NET applications. Instead of each service managing its own user store and token logic, they delegate to this service — which issues JWT access tokens, manages refresh token rotation, and enforces role-based access control.


Features

  • JWT access token issuance — short-lived tokens signed with a configurable secret or certificate
  • Refresh token rotation — secure token refresh with invalidation on reuse
  • Role-based authorisation (RBAC) — role assignment and claim-based policy enforcement
  • Centralised user store — single source of truth for user accounts across internal services
  • ASP.NET Core Identity — built on top of the standard Identity infrastructure

Tech Stack

Framework ASP.NET Core
Language C#
Auth ASP.NET Core Identity, JWT Bearer
ORM Entity Framework Core

Getting Started

git clone https://github.com/Aerys-cmd/General.Identity.git
cd General.Identity

dotnet restore
dotnet run --project General.Identity

Configure your connection string and JWT settings in appsettings.json before running.


Integration

Consuming services validate tokens against this service's public key / secret. Add the standard ASP.NET Core JWT Bearer middleware to any downstream service and point Authority or Issuer at this identity server.

About

Centralised authentication and authorisation service for internal .NET applications — JWT, refresh tokens, role-based access control.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages