One identity for every app you trust.
Easy Auth is a self-hosted OAuth 2.1 and OpenID Connect Authorization Server built for Cloudflare Workers and D1. Give every account a single sign-in with passwords, GitHub, Google, Passkeys and two-factor authentication — designed to run on the Cloudflare Free Tier.
Built on open standards
- OAuth 2.1
- OpenID Connect
- PKCE
- WebAuthn Passkeys
- TOTP · RFC 6238
Everything an identity domain needs
Sign-in, account security, application authorization and administration in one Cloudflare Worker.
Four sign-in methods
OAuth 2.1 & OpenID Connect
Two-factor authentication
Explicit identity linking
Sessions & app authorizations
Administrator console
- sign-in methods
- 4
- Worker + D1 database
- 1
- designed for Cloudflare Free Tier
- $0
- open source, Apache-2.0
- 100%
From clone to sign-in in three steps
No containers, no servers to patch — one Worker and one D1 database.
- 1
Deploy to Cloudflare
Create a D1 database, set your secrets and deploy the Worker. Cron cleanup and rate limiting are included.bun run db:migrate bun run deploy - 2
Register a trusted application
An administrator registers a Web or Native OAuth client and its redirect URIs from the console.client_id: acme-notes type: web · public redirect_uri: https://acme.dev/cb - 3
Sign in once, everywhere
Point any OpenID Connect library at the discovery document. Accounts approve each application once.GET /.well-known/openid-configuration
Frequently asked questions
Easy Auth is an open-source, self-hosted identity provider that acts as an OAuth 2.1 and OpenID Connect Authorization Server. It gives every account in your identity domain one sign-in for all of your trusted applications.
Yes. Easy Auth runs as a single Cloudflare Worker backed by D1, uses Turnstile for bot protection and D1-backed rate limiting, and is designed to stay within the Cloudflare Free Tier.
Easy Auth supports email and password, GitHub, Google and WebAuthn Passkeys, plus TOTP two-factor authentication with backup codes and trusted devices.
Any OAuth 2.1 or OpenID Connect client library works. Register the application as an OAuth client, then use the Authorization Code flow with PKCE against the endpoints published at /.well-known/openid-configuration.
Easy Auth is self-hosted and open source like Keycloak, but runs serverlessly on Cloudflare Workers instead of a JVM server, and you keep full ownership of account data in your own D1 database instead of a hosted vendor.
Yes. Easy Auth is free and open-source software released under the Apache License 2.0. You only pay for the Cloudflare resources you use beyond the free tier.
Own your sign-in.
Deploy Easy Auth on your own domain in minutes, or try this instance right now.