zeke/login-with-cloudflare — explained in plain English
Analysis updated 2026-05-18
Learn how to implement Cloudflare OAuth login in your own application.
Let users grant your app limited, read-only access to their Cloudflare account without sharing API tokens.
Build and deploy a small app on Cloudflare Workers that reads a user's Cloudflare product usage.
Study a reference implementation of Cloudflare's self-managed OAuth client feature.
| zeke/login-with-cloudflare | andersondanieln/hexllama | antonlobanovskiy/agent-tmux-web | |
|---|---|---|---|
| Stars | 13 | 13 | 13 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 2/5 | 3/5 |
| Audience | developer | vibe coder | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a Cloudflare account and deployment to Cloudflare Workers.
Cloudflare is a web infrastructure company that offers services like DNS, firewalls, content delivery, and serverless computing. This repository is a working demo that shows how a third-party application can let users sign in with their Cloudflare account, in a way that does not require the user to generate and paste an API token. The approach used here is called OAuth, a widely used standard for letting one service request limited access to another service on behalf of a user. Instead of copying credentials, the user clicks a login button, gets sent to Cloudflare to approve the request, chooses which of their Cloudflare accounts to share, and is then sent back to the app. The app receives a token that lets it call Cloudflare's own APIs on behalf of the user, but only within the specific permissions the user approved. In this demo, those permissions are read-only. After login, the app uses the access it was granted to check which Cloudflare products the user's account appears to be using, then shows a brief summary. The access token is stored on the server side rather than in the user's browser, which is a standard security practice. The app itself is built and deployed on Cloudflare Workers, which is Cloudflare's own serverless hosting platform. The README describes this as a reference implementation, meaning it is meant to be studied and adapted by developers who want to build their own apps that use Cloudflare's new self-managed OAuth client feature, announced in June 2026. The project is written in TypeScript and includes a live demo link.
A reference demo showing how to let users log in with their Cloudflare account using OAuth, instead of API tokens.
Mainly TypeScript. The stack also includes TypeScript, Cloudflare Workers, OAuth.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.