Open source · Apache-2.0

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

Accounts sign in with a password, GitHub, Google or a Passkey bound to your domain, and always keep at least one working method.
PasswordGitHubGooglePasskey

OAuth 2.1 & OpenID Connect

Authorization Code flow with PKCE, refresh tokens, ID tokens, discovery metadata and RP-initiated logout for your trusted applications.
PKCEOIDC DiscoveryRefresh tokens

Two-factor authentication

TOTP authenticator apps, one-time backup codes, trusted devices and a documented operator recovery procedure.

Explicit identity linking

GitHub and Google identities are linked deliberately from Sign-in methods — never merged implicitly because an email matches.

Sessions & app authorizations

Accounts see every active session and every application they authorized, and can revoke any of them in one click.

Administrator console

Manage accounts, bans, public and confidential OAuth clients, with immutable management and security activity logs.
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. 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. 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. 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

Own your sign-in.

Deploy Easy Auth on your own domain in minutes, or try this instance right now.