OpenAuth: A Universal, Self-Hosted OAuth 2.0 Server

2024-12-17

OpenAuth is a universal, standards-based, open-source authentication provider. Deployable as a standalone service or embedded within existing applications, it's framework-agnostic and runs on Node.js, Bun, AWS Lambda, or Cloudflare Workers. Adhering to OAuth 2.0, OpenAuth offers a customizable, themeable UI. Unlike most open-source auth solutions which are libraries, OpenAuth is a centralized server designed for easy self-hosting on your infrastructure. It intentionally omits user management, instead providing callbacks for custom user lookup/creation. Data storage is minimal (refresh tokens, etc.) using a simple KV store (Cloudflare KV, DynamoDB). A pre-built UI is available, but you can easily customize or replace it entirely. Created by the SST team, OpenAuth simplifies authentication for your applications.