AuthOS

The Auth Operating System for 
multi-tenant products

Self-hosted identity infrastructure that combines a Rust API, TypeScript SDK, framework adapters, and enterprise identity features in one platform.

Single Binary
deployment
Supports SQLite, Postgres, MySQL
Universal
JavaScript SDK
React, Vue, Svelte, Node
100% Control
data ownership
No vendor lock-in
Open Source
transparent core
Fully auditable code

Built for speed, not excuses

Rust core. Zero GC pauses. Real benchmarks from K6 load tests.

12ms
P50 Latency
Token verification
~18MB
RAM Usage
Idle state
25M
MAUs
Single SQLite node
Rust
Powered
Memory safe & fast

Everything you need, nothing you don't

Built for B2B SaaS from day one.

Multi-tenant Native

Organizations, teams, and role-based access built in. Not a bolt-on.

Self-Hostable

Your infrastructure, your data. Deploy anywhere: on-prem, VPC, or use our cloud.

Enterprise SSO

SAML 2.0 and OIDC federation. Let customers bring their own IdP.

Passkeys & MFA

WebAuthn, TOTP, and email verification. Phishing-resistant auth.

Fine-grained Permissions

Google Zanzibar-style ReBAC. Define who can do what, on what resource.

Observable

Prometheus metrics, structured logs, and audit trails. Debug in minutes.

Ship in minutes, not months

A strongly-typed SDK that works. Install, authenticate, ship.

Read the docs →
import { useAuthOS, SignIn } from '@drmhse/authos-react';function App() {  const { isAuthenticated } = useAuthOS();  if (!isAuthenticated) {    // Now supports OAuth providers!    return <SignIn providers={['github', 'google']} />;  }  return <Dashboard />;}
NORMAL
App.tsx
Top
$ npm install @drmhse/authos-react
$ npm run dev
Ready in 240ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
<script setup>import { useAuthOS, SignIn } from '@drmhse/authos-vue';const { isAuthenticated } = useAuthOS();</script><template>  <SignIn v-if="!isAuthenticated" :providers="['github', 'google']" />  <Dashboard v-else /></template>
NORMAL
App.vue
Top
$ npm install @drmhse/authos-vue
$ npm run dev
Vite server started
➜ Local: http://localhost:5173/
import { createAuthMiddleware } from '@drmhse/authos-node/express';import express from 'express';const { requireAuth } = createAuthMiddleware({  baseURL: 'https://sso.example.com'});app.get('/private', requireAuth(), (req, res) => {  res.json({ user: req.auth.claims });});
NORMAL
server.ts
Top
$ npm install @drmhse/authos-node
$ node server.ts
Auth middleware initialized
Listening on port 8080...
import { SsoClient } from '@drmhse/sso-sdk';const sso = new SsoClient({  baseURL: 'https://sso.example.com'});const context = await sso.auth.getContext({  org: 'acme-corp',  service: 'main-app'});const loginUrl = sso.auth.getLoginUrl('github', {  org: 'acme-corp',  service: 'main-app'});
NORMAL
main.ts
Top
$ npm install @drmhse/sso-sdk
$ ts-node main.ts
Authenticated as user@example.com
Token valid. Expires in 1h.

Source-verified guidance for AI agents

Use AuthOS Agent Skills to help coding agents implement, integrate, and operate AuthOS from the public source-verified skill repository.

Application integration

Skills cover the TypeScript SDK, React, Vue, Node.js middleware, service APIs, device flow, and webhook verification.

Tenant administration

Guide agents through services, RBAC, identity providers, custom domains, branding, MFA, SAML, SCIM, and compliance surfaces.

Platform operation

Help agents deploy and maintain AuthOS with health checks, metrics, token refresh, key rotation, jobs, and webhook delivery operations.

Read the skills guide View skills on GitHub

Total visibility. Full control.

Monitor users, manage tenants, and respond to threats from a single pane.

API Request Rate RPS
4,280
Global Latency (P99) ms
24ms
Active Sessions Live
892,104
Threats Blocked Security
12,402

Ready to ship?

Stop building auth. Start building your product.

Read the Docs Star on GitHub