Skip to content
Gilad Maoz edited this page Feb 20, 2026 · 2 revisions

Welcome to Cloudflare Auth Service

Auth Service Logo

Overview

Cloudflare Auth Service is a secure, scalable, and developer-friendly authentication solution built specifically for the modern web. Leveraging the power of Cloudflare Workers and D1 Database, it provides a cost-effective, global, and low-latency authentication system that you own completely.

Unlike third-party auth providers that lock you in and charge per user, Cloudflare Auth Service runs in your own Cloudflare account, giving you full control over your data and infrastructure.

Key Features

  • 🏢 Multi-Project Support: Manage authentication for multiple applications from a single dashboard. Each project gets its own isolated user table.
  • 🔐 Secure Authentication: Industry-standard JWT authentication with configurable expiry, refresh tokens, and secure password hashing (bcrypt).
  • 🌐 OAuth Integration: Drop-in support for major providers including Google, GitHub, Microsoft, and Apple.
  • 🛡️ Rate Limiting: Built-in protection against brute-force attacks with configurable rules per project.
  • 📝 Audit Logging: Comprehensive tracking of all security events, logins, and administrative actions.
  • 📧 Email Integration: Support for major email providers (SendGrid, Mailgun, Postmark, Resend, SMTP) for verification and password resets.
  • ⚡ High Performance: Deployed to Cloudflare's global edge network for minimal latency worldwide.
  • 🌓 Admin Interface: A beautiful, responsive dashboard to manage users, projects, and settings (supports Light/Dark mode).

Architecture

The service consists of two main components:

  1. The Worker (API): A Cloudflare Worker built with Hono that handles all authentication logic, API endpoints, and database interactions.
  2. The Admin UI: A React-based Single Page Application (SPA) served directly from the Worker, communicating with the API to manage the system.

Data is stored in Cloudflare D1, a distributed SQL database, ensuring your user data is replicated globally and backed up automatically.

Quick Start

Ready to get started? Follow our Installation Guide to deploy your own instance in minutes.

  1. Prerequisites: You need a Cloudflare account and Node.js installed.
  2. Deploy: Use wrangler to deploy the worker and database.
  3. Configure: Set up your first project in the Admin UI.

Documentation


Deploy secure auth to the edge in minutes.

Clone this wiki locally