IDPFlare - Identity Provider for Cloudflare
Identity Provider
Built for Cloudflare
Drop a fully functional OAuth 2.0 / OIDC server right onto Cloudflare's edge in minutes. Forget<br>about managing servers and paying per-user SaaS fees.
Deploy Now<br>Read Docs
Global Response Time
100%<br>Cloudflare Edge
$40<br>One-Time Purchase
Quick Start
# Clone and deploy<br>git clone https://github.com/IdpFlare/idpflare<br>cd idpflare
# Create required resources first<br># wrangler d1 create idpflare-db<br># wrangler kv namespace create SESSIONS<br># wrangler kv namespace create RATE_LIMIT
npm run deploy
# Your IdP is live at:<br># https://auth.yourdomain.com
# Complete with:<br>✓ OAuth 2.0 / OpenID Connect<br>✓ SAML 2.0 Support<br>✓ Social Login (Google, GitHub, etc)<br>✓ Multi-Factor Authentication<br>✓ Admin Dashboard<br>✓ Management APIs
Own your auth stack.
Deploy a complete, self-hosted Identity Provider directly to your Cloudflare account. It scales<br>instantly, costs pennies to run, and keeps you out of SaaS lock-in.
See It In Action
Take a closer look at the interface
×
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<br>refresh tokens right out of the box.
Make It Yours
Tweak the colors, swap the logos, and adjust the typography. The UI is completely<br>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<br>your users.
Bring Your Own Email
Works seamlessly with Resend, SendGrid, Mailgun, Postmark, or AWS SES—complete with clean,<br>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<br>one.
Powered by the Edge
Runs on Cloudflare Workers. Enjoy zero cold starts and sub-50ms latency no matter where your<br>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<br>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.
Grab the Code
Fork the repository to your GitHub account and tweak wrangler.toml to match your branding.
Spin Up Storage
Run a single command to provision your Cloudflare D1 database and KV storage namespaces.
Push to the Edge
Run npm run deploy to push your shiny new IdP to Cloudflare. It handles everything automatically.
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<br>IDPFlare<br>Auth0<br>Keycloak<br>Self-Built
Setup Time<br>10 minutes<br>10 minutes<br>2+ hours<br>Days or weeks
Infrastructure<br>Self-Managed*<br>Managed<br>Self-managed<br>Self-managed
Global Edge<br>✓ Included<br>✓ Premium
Cost (10k users)<br>$40 (once) + $0-5/mo*<br>$228/mo<br>$50+/mo (VM)<br>~$50+/mo
Custom Domain<br>✓ Free<br>✓ Paid<br>✓ Free<br>✓ Free
White Label<br>✓ Full<br>✓ Paid<br>✓ Limited<br>✓ Full
Source Code Access<br>✓ Full<br>✓ Apache<br>✓ You own it
* See<br>pricing section below
Pay Once, Host Forever
No recurring subscriptions or per-user fees. Just outright<br>ownership of the installation.
Full Access
IDPFlare License
$40<br>one-time
Everything you need to run your own identity provider
✓ Full source code access
✓ All features included
✓ Deploy to your Cloudflare
✓ Unlimited users
✓ Unlimited applications
✓ Future updates included
Buy Now
Your CF Costs
Cloudflare Usage
$0-5<br>/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<br>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<br>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.
Buy Now - $40 USD
Read Documentation