OpenAuth is an authentication system aimed at modern serverless and edge runtimes, providing a cohesive way to add sign-in flows and session management to web apps. It supports common patterns such as OAuth with popular identity providers, email-based links or codes, and passkeys/passwordless options, while exposing a simple API that fits full-stack frameworks. The project is designed to be infrastructure-friendly, aligning with managed stores and serverless platforms so sessions, webhooks, and callbacks work reliably at scale. It emphasizes secure defaults, including robust token handling, CSRF protections, and clear session lifecycles, while leaving room for customization where apps need it. Developers can bring their own database or storage layer and wire it through adapters without rewriting core logic. The goal is to remove boilerplate around sign-up/sign-in, user profiles, and authorization checks so teams can ship features faster.

Features

  • Standards‑compliant OAuth 2.0 auth provider compatible with any OAuth client
  • Deployable as a standalone service or embeddable into existing apps
  • Self‑hostable on Node.js, Bun, AWS Lambda, or Cloudflare Workers
  • Themeable UI with ability to opt out or customize
  • Stateless design using minimal data storage in KV or DynamoDB
  • SST integration with provided components to simplify deployment on AWS or Cloudflare

Project Samples

Project Activity

See All Activity >

Categories

Authentication

License

MIT License

Follow OpenAuth

OpenAuth Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OpenAuth!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Authentication Software

Registered

2025-09-01