Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Latest commit

 

History

70 Commits

Folders and files

Repository files navigation

AuthEngine

AuthEngine

Open-source identity infrastructure for products and agents

One identity and one permission model for your products, APIs, and agents.

Docs · Website · Discussions · Roadmap

AuthEngine is a self-hosted identity layer: one login, one set of organisations, one permission model, shared across every app, API, and agent you build.

  • Identity for products — standard sign-in flow, session validation for APIs, per-organisation auth settings.
  • Identity for agents — agents authenticate as trusted services and inherit the user's permissions; they cannot mint or escalate access.

Self-hosted. MIT license.


Getting started

git clone https://github.com/auth-engine/auth-engine.git
cd auth-engine
docker compose up -d
Dashboard http://localhost:3000
API http://localhost:8000/docs

Log in with the super-admin credentials in docker-compose.yml. Full guide: Quick Start.


Contents


How it fits together

flowchart LR
    user["People"]
    ae["AuthEngine"]
    app1["App A"]
    app2["App B"]
    api["APIs and agents"]

    user -->|"sign in once"| ae
    app1 -->|"Login with AuthEngine"| ae
    app2 -->|"Login with AuthEngine"| ae
    api -->|"is this still allowed?"| ae
Loading
Piece What it's for
API Identity, organisations, permissions, login, session checks
Dashboard Admin UI for operators and tenant admins
PostgreSQL People, organisations, roles, keys
Redis Sessions, rate limits, one-time login steps
MongoDB Audit history

Full picture: Architecture.


Local development

Recommended: databases in Docker, API and dashboard on your machine.

docker compose up -d postgres mongo redis

API (Python 3.12+, uv):

cd apps/api
uv sync --extra dev
cp .env.example .env.local
uv run auth-engine migrate
uv run auth-engine seed
uv run auth-engine run --reload

Dashboard (Node.js 20+):

cd apps/dashboard
cp .env.example .env.local
npm ci
npm run dev

Env, secrets, seed, migrations, troubleshooting: Quick Start.


Deployment

Path When
Docker Compose Try the published images locally
Helm Kubernetes / K3s
Terraform AWS VPC + EC2
Deploy scripts Laptop VM or cloud VM

Images: qniranjan01/authengine · qniranjan01/authengine-dashboard. Guide: Deployment.


Security

Do not open a public GitHub issue for vulnerabilities. Email qniranjan.dev@gmail.com with subject AuthEngine Security Report (72-hour acknowledgement target). Policy: SECURITY.md.


Roadmap

Shipped: multi-tenant identity, permissions, Login with AuthEngine, social login, magic links, MFA, passkeys, API session checks, deploy path.

Next:

  • First-class agent identities (agent roles/credentials, still capped by granted permissions)
  • Automated tests beyond lint and typecheck
  • More identity providers and operator features

Issues · Feature requests


Contributing

Read Contributing. Look for good first issue.

  1. Fork and branch from main.
  2. Run the stack locally.
  3. Keep changes focused; search existing issues first.
  4. Never commit secrets.

PRs: API must be lint- and type-clean; dashboard lint and build must pass. Open against main.


Community

Discussions Design talk, show-and-tell
Issues Bugs, features, questions
Documentation Guides and API reference

License

MIT © 2026 Niranjan Kumar.