Lightlines
By secondsky

better-auth

secondsky474 installs

Add sign-in to your Cloudflare application.

What it does

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.

How to use it

Give it a new or existing application needing authentication; it adds authentication configuration, route handlers, database migrations, and client integration.

What you provide

  • An existing project

Uses

Latest review

What you need · 7

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.


Access · 5

This skill

Cloudflare D1

Write

Creates and migrates D1 databases

Cloudflare Workers

Write

Stores authentication secrets in Workers