Open-source API and SDK infrastructure for B2B and B2B2C authentication.
AuthOS ships a Rust API, standalone Linux bundles, Docker images, TypeScript SDKs, framework adapters, and an embedded lightweight web client for setup and end-user journeys.
AuthOS is currently in the pre-1.0 release series. Read the project status for present support boundaries and the production-readiness plan for the evidence required before 1.0.
On a Linux host with systemd, python3, curl, tar, mktemp,
sha256sum, and openssl:
curl -fsSL -o install.sh https://github.com/drmhse/AuthOS/releases/latest/download/install.sh
chmod +x install.sh
sudo ./install.shThe installer selects the matching SQLite standalone bundle for linux/amd64
or linux/arm64, verifies its checksum, starts AuthOS, and prints a one-time
bootstrap link.
To install a specific release:
AUTHOS_VERSION=v0.8.5
curl -fsSL -o install.sh "https://github.com/drmhse/AuthOS/releases/download/${AUTHOS_VERSION}/install.sh"
chmod +x install.sh
sudo AUTHOS_RELEASE_TAG="${AUTHOS_VERSION}" ./install.shInstall only the package your app needs:
npm install @drmhse/sso-sdk
npm install @drmhse/authos-react
npm install @drmhse/authos-vue
npm install @drmhse/authos-node
npm install @drmhse/authos-cli| Path | Description |
|---|---|
| api/ | Rust API and backend binaries. |
| api/benchmarks/ | Reproducible API benchmark harnesses and dated evidence. |
| lite-web-client/ | Embedded setup and end-user journey UI. |
| sso-sdk/ | Framework-agnostic TypeScript SDK. |
| packages/ | React, Vue, Node, and CLI packages. |
| scripts/ | Installer and release bundle tooling. |
Project trust and community resources:
- Project status
- Production-readiness plan
- Security threat model
- Security architecture
- Tenant-resource inventory
- Release and versioning lifecycle
- Release artifact verification
- Supported deployment topologies
- Backup and restore
- Upgrade and rollback
- Cryptographic key rotation
- Monitoring and operational signals
- SQLite budget-VM benchmark
- Changelog
- Security policy
- Support
- Contributing
AuthOS also maintains source-verified Agent Skills for integration and operations workflows:
Install workspace dependencies:
npm ci
npm run build:sdkCommon checks:
npm run lint
npm run typecheck
npm run test --workspaces --if-present
npm run build
npm run check:trust
cargo check --manifest-path api/Cargo.tomlFor direct API work:
cd api
cp .env.example .env
# Replace the ENCRYPTION_KEY placeholder with this generated value:
openssl rand -hex 32
cargo run --releaseNormal API startup requires a valid 64-character hexadecimal
ENCRYPTION_KEY. Store it through your secret-management workflow and retain
it with database backups; do not copy generated secret material into source
control. Optional ENCRYPTION_KEY_ID and ENCRYPTION_PREVIOUS_KEYS settings
provide active/previous key overlap. Follow the maintenance-window and rollback
limits in the key-rotation runbook before
changing them.
AuthOS currently assigns licenses to these first-party source paths:
- API, lite web client, scripts, and installer: AGPL-3.0-only
- SDKs and packages: MIT
Vendored third-party code keeps its upstream notices in place under its own directory. The current map does not yet assign a license to remaining root documentation and configuration; do not assume an unlisted path uses either license. See LICENSE for the authoritative repository map.