Skip to content
owlfoundryPublic

About

Self-hostable Project Auth and identity infrastructure with isolated projects, upstream OAuth/OIDC providers, and first-party TypeScript, Python, and Rust SDKs.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

108 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OwlAuth

OwlAuth is self-hosted authentication and identity infrastructure backed by PostgreSQL. Related Applications can share a Project user directory and use GitHub, OIDC, or passwordless email for sign-in. The Runtime handles login, sessions, JWTs, and identity proof. Application backends use a Project-key API for identity reads and token introspection. Operators administer Projects, keys, SMTP, and signed webhooks through Control.

The v1 backend, embedded Hosted Auth UI (/auth/), Control Console (/console/), Control CLI, and TypeScript, Python, and Rust Runtime SDKs are implemented. OwlAuth remains Beta. The v1 baseline is for a fresh database, not an in-place upgrade from v0. Your application owns product authorization, including memberships, roles, billing, and resource access.

Run locally

Install Rust, Node.js, pnpm, uv, Docker, and Docker Compose. From a new checkout:

make install
cp .env.example .env
make dev

Auth listens on port 8080 and Control on 8081 by default. Check /ready on both. Use the getting started guide to create a Project and Application with the CLI. The example keys are public and only for disposable development. Stop the process and run make dev-down when finished.

Integrate

Development targets

Target Purpose
make install Fetch locked dependencies.
make format Format Rust and Python (cargo fmt --all, uv run ruff format sdks/python).
make check Check Rust formatting and Clippy (-D warnings), export OpenAPI, verify hosted-web contracts, boundaries, lint, format, types, and tests, type-check the TypeScript SDK, check Python with Ruff (lint and format), and verify release dev sentinels and Markdown links.
make test Run Rust workspace, TypeScript and Python SDK, and script/release-tooling tests.
make test-pg Run OWLAUTH_REQUIRE_DOCKER=1 cargo test --workspace --all-features --locked.
make test-scripts Test installers, dev environment, and release tooling.
make package-check Smoke-test Rust crate and SDK distributions.
make build Build release owlauth-server and owlauth (package owlauth-cli).
make openapi Export target/openapi/{runtime,server,control}.json.
make web-contracts Regenerate hosted-web OpenAPI TypeScript contracts.
make web-check Run hosted-web boundary, lint, format, type, and unit checks.
make web-build Rebuild deterministic Runtime and Control hosted-web assets.
make docker-build Build and smoke-test the server container image.
make docs / make docs-build Serve or build the VitePress docs.
make dev / make dev-check Start the backend and local database, or preflight tools and .env without starting services.
make dev-up / make dev-down Start or stop local PostgreSQL.
make dev-reset Recreate PostgreSQL and delete local data.
make dev-logs / make dev-status / make dev-postgres Follow database logs, check the service, or open psql.

License

BSD 3-Clause

About

Self-hostable Project Auth and identity infrastructure with isolated projects, upstream OAuth/OIDC providers, and first-party TypeScript, Python, and Rust SDKs.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages