#authentication · 7 projects
Best open-source Cloudflare Authentication projects
We track 7 open-source Cloudflare Authentication projects with 51.5k combined GitHub stars. Most are written in TypeScript. The most popular isPayload CMS (43.5k★), and 5 projects have shipped code in the last 90 days.
Top Cloudflare Authentication projects

Payload CMS
Hotpayloadcms/payload
The best way to build a modern backend + admin UI. No black magic, all TypeScript. Payload is a headless CMS and application framework built with TypeScript, Node.js, React and MongoDB.
typescriptnodejsreactTypeScript43.5k3.9k
bknd
Hotbknd-io/bknd
A lightweight Firebase/Supabase alternative with a visual backend for data, auth, media and workflows — runs on Cloudflare Workers with D1, Durable Objects SQLite and R2.
backenddatabaseauthenticationTypeScript3.8k151
Cloudflare Workers OAuth Provider
Hotcloudflare/workers-oauth-provider
A comprehensive OAuth 2.1 provider framework for Cloudflare Workers with PKCE support. Features automatic token management, end-to-end encryption, and seamless integration with Workers KV for secure authorization workflows on the edge.
oauthoauth2authenticationTypeScript1.8k127
Cloudflare Worker JWT
tsndr/cloudflare-worker-jwt
A lightweight, zero-dependency JWT library for Cloudflare Workers to sign, verify and decode tokens.
jwtauthenticationcloudflare-workersTypeScript87762
Melody Auth
ValueMelody/melody-auth
A self-hosted OAuth and authentication system that deploys to Cloudflare Workers, D1 and KV in minutes — or to Node.js, Redis and PostgreSQL.
authenticationoauthcloudflare-d1TypeScript65271
better-auth-cloudflare
zpg6/better-auth-cloudflare
Integrates Better Auth with Cloudflare Workers, D1, Hyperdrive, KV, R2 and geolocation, with OpenNext and Hono examples.
authenticationbetter-authcloudflare-d1TypeScript60141
Frostbase
frostbase-dev/frostbase
An open-source Firebase alternative on Cloudflare where every project gets its own Durable Objects: auth, live database, remote config and R2 storage.
firebase-alternativebackenddurable-objectsTypeScript24418
Compare Cloudflare Authentication projects
| # | Project | Stars | Language | Status | License |
|---|---|---|---|---|---|
| 1 | 43.5k | TypeScript | Maintained | MIT License | |
| 2 | 3.8k | TypeScript | Active | Apache License 2.0 | |
| 3 | 1.8k | TypeScript | Maintained | MIT License | |
| 4 | 877 | TypeScript | Active | MIT License | |
| 5 | 652 | TypeScript | Active | MIT License | |
| 6 | 601 | TypeScript | Active | MIT License | |
| 7 | 244 | TypeScript | Active | Apache License 2.0 |