Identity Provider
Built for Cloudflare

Drop a fully functional OAuth 2.0 / OIDC server right onto Cloudflare's edge in minutes. Forget about managing servers and paying per-user SaaS fees.

< 50ms Global Response Time
100% Cloudflare Edge
$40 One-Time Purchase
Quick Start
# Clone and deploy
git clone https://github.com/IdpFlare/idpflare
cd idpflare

# Create required resources first
# wrangler d1 create idpflare-db
# wrangler kv namespace create SESSIONS
# wrangler kv namespace create RATE_LIMIT

npm run deploy

# Your IdP is live at:
# https://auth.yourdomain.com

# Complete with:
✓ OAuth 2.0 / OpenID Connect
✓ SAML 2.0 Support
✓ Social Login (Google, GitHub, etc)
✓ Multi-Factor Authentication
✓ Admin Dashboard
✓ Management APIs

Own your auth stack.

Deploy a complete, self-hosted Identity Provider directly to your Cloudflare account. It scales instantly, costs pennies to run, and keeps you out of SaaS lock-in.

See It In Action

Take a closer look at the interface

IDPFlare Dashboard Screenshot 1
IDPFlare Dashboard Screenshot 2
IDPFlare Dashboard Screenshot 3
IDPFlare Dashboard Screenshot 4
IDPFlare Dashboard Screenshot 5
IDPFlare Dashboard Screenshot 6
IDPFlare Dashboard Screenshot 7
IDPFlare Dashboard Screenshot 8

The Complete Package

A capable identity provider that doesn't hold back features.

OAuth 2.0 & OIDC

Strictly standard compliant. Full OAuth 2.0 and OpenID Connect support, including PKCE and refresh tokens right out of the box.

Make It Yours

Tweak the colors, swap the logos, and adjust the typography. The UI is completely configuration-driven so it feels like your brand.

Social Login

Drop in Google, GitHub, Facebook, or Microsoft logins with just a few lines of config.

Flexible MFA

Keep things secure with TOTP apps, Email OTPs, or backup codes. You decide how strict to be with your users.

Bring Your Own Email

Works seamlessly with Resend, SendGrid, Mailgun, Postmark, or AWS SES—complete with clean, customizable email templates.

Built-in Admin Panel

Manage users, revoke sessions, and generate API keys from a fast, clutter-free dashboard.

Automate Everything

Clean REST APIs for managing your instance, with interactive OpenAPI docs built right in.

SAML 2.0 Ready

Need to plug into legacy enterprise setups? We've got full SAML 2.0 support ready to go on day one.

Powered by the Edge

Runs on Cloudflare Workers. Enjoy zero cold starts and sub-50ms latency no matter where your users are globally.

Hook Into Anything

Tap into webhooks to run custom logic during registration, login, or token generation.

Know What's Happening

A detailed, searchable audit log of every sign in, registration, and security event so you're never flying blind.

Ditch the Per-User Fees

Host it on Cloudflare's free tier and only pay for bulk database usage once you get huge.

Up and Running in Minutes

No messy installations. Just basic Cloudflare commands.

1

Grab the Code

Fork the repository to your GitHub account and tweak wrangler.toml to match your branding.

2

Spin Up Storage

Run a single command to provision your Cloudflare D1 database and KV storage namespaces.

3

Push to the Edge

Run npm run deploy to push your shiny new IdP to Cloudflare. It handles everything automatically.

4

Hook It Up

Point your apps to your IdP using standard OAuth/OIDC libraries.

How It Stacks Up

See why self-hosting makes more sense

Feature IDPFlare Auth0 Keycloak Self-Built
Setup Time 10 minutes 10 minutes 2+ hours Days or weeks
Infrastructure Self-Managed* Managed Self-managed Self-managed
Global Edge ✓ Included ✓ Premium
Cost (10k users) $40 (once) + $0-5/mo* $228/mo $50+/mo (VM) ~$50+/mo
Custom Domain ✓ Free ✓ Paid ✓ Free ✓ Free
White Label ✓ Full ✓ Paid ✓ Limited ✓ Full
Source Code Access ✓ Full ✓ Apache ✓ You own it

* See pricing section below

Pay Once, Host Forever

No recurring subscriptions or per-user fees. Just outright ownership of the installation.

Your CF Costs

Cloudflare Usage

$0-5 /month

What you pay Cloudflare directly

  • ✓ Free tier: 100k requests/day
  • ✓ Free tier: 5 GB D1 database
  • ✓ Free tier: 1 GB KV storage
  • ✓ Paid: 10M requests included
  • ✓ Global edge deployment
  • ✓ Most users stay free
CF Pricing
Managed

We Deploy & Manage

Contact us

We handle everything for you

  • ✓ We deploy to your Cloudflare
  • ✓ Ongoing updates & maintenance
  • ✓ Priority support
  • ✓ Custom configuration
  • ✓ Security monitoring
  • ✓ Training & onboarding
Contact Us

💡 How it works: Purchase gives you access to the private repository. You deploy to your own Cloudflare account and pay them directly for usage (most users stay on the free tier).

Ready to take back your auth?

Grab the full source code today for a one-time payment of $40.