Skip to content

auth-engine/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Contributing to AuthEngine

Thank you for your interest in AuthEngine. This guide applies to all repositories in the auth-engine organization.

Tagline: One identity for every app and organisation.


Repositories

Repository What to change here
auth-engine FastAPI backend, IAM, OIDC, migrations
auth-engine-dashboard Next.js admin UI
auth-engine-infra Terraform, Docker Compose, documentation
.github Org profile, CONTRIBUTING, SECURITY

Documentation (canonical): docs.authengine.org


Before you start

  1. Read the Quick Start and run the stack locally.
  2. Search existing issues — avoid duplicate work.
  3. For large changes, open an issue first to discuss approach.
  4. Look for issues labeled good first issue if you are new to the codebase.

Local development

Full stack (recommended)

git clone https://github.com/auth-engine/auth-engine-infra.git
cd auth-engine-infra/compose
cp env.local.example .env
# Set SECRET_KEY and JWT_SECRET_KEY (openssl rand -hex 32)

docker compose up -d --build
docker exec authengine-api auth-engine migrate
Service URL
API / Swagger http://localhost:8000/docs
Dashboard http://localhost:3000

Clone URLs in compose/.env default to the auth-engine org on GitHub.

Backend only (auth-engine)

git clone https://github.com/auth-engine/auth-engine.git
cd auth-engine
uv sync
cp .env.example .env   # configure Postgres, Redis, MongoDB
auth-engine migrate
auth-engine run

Requires Python 3.12+, uv, and running Postgres, Redis, and MongoDB (or use Compose from auth-engine-infra).

Dashboard only (auth-engine-dashboard)

git clone https://github.com/auth-engine/auth-engine-dashboard.git
cd auth-engine-dashboard
cp .env.example .env.local
npm ci && npm run dev

Point NEXT_PUBLIC_API_URL at a running API (local or remote).


Pull request workflow

  1. Fork the repository and create a branch from main:
    • feature/short-description
    • fix/short-description
    • docs/short-description
  2. Keep PRs focused — one logical change per PR when possible.
  3. Test locally before opening the PR:
    • Backend: lint/typecheck via CI; run migrations if you changed models.
    • Dashboard: npm run build must pass.
    • Docs: verify links if you edited auth-engine-infra/docs/.
  4. Describe your PR:
    • What changed and why
    • How you tested it
    • Related issue (Fixes #123)
  5. Open the PR against main.

Maintainers will review when they can. Be patient — this is an early-stage open-source project.


Code guidelines

  • Match existing style in each repo (Ruff/mypy for Python, ESLint for TypeScript).
  • Do not commit secrets (.env, API keys, passwords). Use .env.example for templates only.
  • Add or update documentation in auth-engine-infra/docs/ when behavior changes.
  • Prefer small, readable diffs over large refactors unless discussed in an issue first.

Reporting bugs and asking questions

Type Where
Bug Bug report issue
Feature idea Feature request issue
Question Question issue
Security vulnerability See SECURITY.md or docs — Security Policydo not open a public issue

License

By contributing, you agree that your contributions will be licensed under the MIT License used across AuthEngine repositories.


Contact

About

No description, website, or topics provided.

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors