Add sign-in to your Cloudflare application.
Guides authentication integration and troubleshooting with better-auth, focusing on Cloudflare Workers and D1 applications.
When to use it
Use when adding authentication, troubleshooting D1 adapter errors, or implementing OAuth, two-factor authentication, or role-based access.
Give it a new or existing application needing authentication; it adds authentication configuration, route handlers, database migrations, and client integration.
What you provide
The Cloudflare setup uses wrangler to create the D1 database, apply remote migrations, and deploy the Worker.
The documented D1 HTTP configuration requires a Cloudflare account ID together with a database ID and token.
This skill
Cloudflare D1
Creates and migrates D1 databases
Cloudflare Workers
Stores authentication secrets in Workers