Status and roadmap
AuthWAPI is early. It is a rewrite as a self-hosted auth server built on Better Auth, Hono and SQLite. The latest release is 0.3.1. Don’t put real users on it yet.
Works today
Section titled “Works today”- Email and password sign-up with email verification (the link asks for the sign-up password)
- Sign-in, sessions, sign-out, password reset
- Magic links: one use, 5 minutes, existing accounts only, with a confirm step
- Google and GitHub sign-in, each on when its client ID and secret are set; accounts join by email only when both the provider and the existing account have verified it
- TOTP two-factor authentication with backup codes, enforced on the server after every first step (password, magic link, Google, GitHub); no trusted devices
- Passkeys with user verification required; a passkey sign-in counts as both factors
- Organizations with
owner,adminandmemberroles, emailed invitations, andorg_id/rolesclaims for apps that ask for theorganizationscope - Admin ban (ends sessions and revokes OAuth tokens) and short, audited impersonation
- OIDC SSO per organization: providers registered over MCP or the CLI, identities bound to (provider, subject), never joined by email
- SAML SSO per organization, under the same rules: signed assertions only (RSA-SHA256 or stronger), started from AuthWAPI (identity-provider-initiated sign-in is refused)
- Hosted pages: sign-in, sign-up, reset, verification, magic link, OAuth consent, 2FA, TOTP setup, passkeys, organization pick, invitations, errors and logout. Every sign-in method works during an app’s sign-in
- OAuth 2.1 / OpenID Connect provider: authorization code + PKCE, ID tokens, JWT access tokens per API, JWKS, introspection, userinfo, refresh-token rotation, RP-initiated logout; sign-out revokes refresh tokens for every app
- Operator CLI for OAuth clients
- OAuth for your own MCP servers: MCP clients identify themselves with Client ID Metadata Documents, and the operator links each one to the MCP servers (resources) it may get tokens for
- Admin MCP server at
/mcp: an agent bootstraps it with a one-time key, mints scoped, revocable keys, lists and creates users, manages organizations, bans users, sets the first admin, and reads an audit log - Email through Resend, or an outbox folder on localhost
- One data folder: SQLite, migrations with a backup before each upgrade, JSON logs with no tokens or links
export/importof the data folder, safe while the server runs (SQLite’s online backup API)- Docker image running as a non-root user; checked on rootful Docker, rootless podman and SELinux
- The no-human agent test: a fresh agent, given only the docs, ran the container and administered it over MCP, from the host and from another container (runs)
Milestones
Section titled “Milestones”M1 (the core server, admin MCP and export/import), M2 (Google and GitHub sign-in, TOTP and passkeys), M3
(organizations and admin), M4a (OIDC SSO), M4b (SAML SSO), M5 (OAuth for your own MCP servers) and M6 (CI on Linux
and macOS, and a release workflow) are built. The release workflow builds a multi-arch (amd64/arm64) image for GHCR
from a version tag, and UPGRADING.md holds the
upgrade notes. The latest release, v0.3.1 (the hosted pages’ new look), is published as
ghcr.io/anmolnoor/authwapi:0.3.1 (also 0.3 and latest); v0.3.0 was the first. These docs follow main, which
can be ahead of the latest release.
The earlier version
Section titled “The earlier version”Before M1, AuthWAPI was a learning project: an Express + MongoDB API with JWT cookies and S3 avatar upload. It is
preserved at the v0.1-learning tag. These docs don’t
cover it.