{
  "id": "better-auth--cloudflare",
  "schema_version": "1.2",
  "app": {
    "slug": "better-auth",
    "name": "Better Auth",
    "vendor": "Better Auth Inc.",
    "website": "https://better-auth.com",
    "categories": [
      "authentication"
    ],
    "owned_by_platform": false
  },
  "ecosystem": "cloudflare",
  "connection": {
    "built_by": "app-vendor",
    "method": "native-api",
    "setup_docs_url": "https://better-auth.com/docs/guides/cloudflare"
  },
  "sync": [
    {
      "object": "workers-sdk",
      "direction": "supported",
      "notes": "Better Auth's Cloudflare guide covers running the better-auth library in a Worker: Node.js compatibility, secrets read from process.env or cloudflare:workers env, the CF-Connecting-IP header and waitUntil for background tasks.",
      "src": [
        "s1"
      ]
    },
    {
      "object": "auth",
      "direction": "supported",
      "notes": "Better Auth is an authentication and authorization library that runs inside the app's own Worker code.",
      "src": [
        "s2",
        "s1"
      ]
    }
  ],
  "pricing": {
    "model": "free",
    "plans": []
  },
  "regions": {
    "supported": [
      "GLOBAL"
    ],
    "basis": "no-restriction-stated",
    "src": [
      "s1"
    ],
    "label": "No regional restriction stated"
  },
  "requirements": {
    "ecosystem_plan_min": "unknown",
    "ecosystem_features_required": [],
    "src": [
      "s1"
    ]
  },
  "limitations": [
    {
      "summary": "Needs Node.js compatibility: on by default from compatibility date 2026-08-04, otherwise add the nodejs_compat flag",
      "severity": "minor",
      "src": [
        "s1"
      ]
    },
    {
      "summary": "An auth instance at module scope can't hold a connection pool such as pg or mysql2, even through Hyperdrive; use a database driver that queries over HTTP",
      "severity": "moderate",
      "src": [
        "s1"
      ]
    },
    {
      "summary": "Cloudflare Workers KV can't be used as Better Auth's secondary storage; use a store such as Redis",
      "severity": "minor",
      "src": [
        "s1"
      ]
    }
  ],
  "alternatives": [],
  "editorial": {
    "answer_summary": "Better Auth works with Cloudflare: runs in Workers and authentication. Free.",
    "best_for": [],
    "not_ideal_for": []
  },
  "profile": {
    "status": "listed"
  },
  "sources": [
    {
      "id": "s1",
      "url": "https://better-auth.com/docs/guides/cloudflare.md",
      "title": "Cloudflare Guide",
      "type": "vendor-docs",
      "retrieved_at": "2026-11-26T22:23:42Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "1dd3d690689aa8ff1d8b524d8f8159a8c09a988a2be2c99817556bb647581cfe",
        "text_sha256": "318f55d8959f9ffa47fb5161ac0873eb79de995c472096ab60067da1a9b4afa7"
      }
    },
    {
      "id": "s2",
      "url": "https://better-auth.com/docs/introduction.md",
      "title": "Introduction",
      "type": "vendor-docs",
      "retrieved_at": "2026-11-26T22:25:49Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "bb2da60523f90537d07d9cd2f60a3e6915289843210fbd572b0788d8578aa465",
        "text_sha256": "672eff9be3cb726aedae09b28124e018bcab5e77542c5418010efd7be0d13aac"
      }
    },
    {
      "id": "s3",
      "url": "https://better-auth.com/pricing",
      "title": "Pricing — Better Auth",
      "type": "vendor-pricing",
      "retrieved_at": "2026-11-26T22:25:51Z",
      "archived": {
        "fetched_at": "2026-11-28T17:05:24.064Z",
        "sha256": "6f3f7d6784a2d1c798d711c8541b1967ff321044bbe0a658415d2307ea3407a3",
        "text_sha256": "c96a4bbb10abaa21e18b1f3cabc9dc2bbb05312c56267fd230ba7f652de4c101"
      }
    }
  ],
  "verification": {
    "status": "verified",
    "last_verified": "2026-11-27",
    "verified_by": [
      "research-agent",
      "verifier-agent"
    ],
    "open_flags": []
  },
  "publishing": {
    "state": "live",
    "batch": "LOD-155 Cloudflare batch 1 group A"
  },
  "changelog": [
    {
      "date": "2026-11-27",
      "change": "Record created from public sources (LOD-155 Cloudflare batch 1 group A): Cloudflare Guide; Introduction; Pricing — Better Auth."
    }
  ],
  "not_documented": [
    "dashboard-integration",
    "hyperdrive",
    "pages-plugin",
    "git-deploy",
    "ci-deploy",
    "database",
    "background-jobs",
    "email-sending",
    "rate-limiting",
    "observability",
    "logpush",
    "ai-gateway",
    "remote-mcp",
    "dns-records",
    "access-sso"
  ],
  "vendor": {
    "id": "better-auth-inc",
    "name": "Better Auth Inc.",
    "api": "https://trylode.io/api/vendors/better-auth-inc.json"
  },
  "url": "https://trylode.io/cloudflare/better-auth/",
  "facts": [
    {
      "id": "sync-workers-sdk",
      "topic": "sync",
      "statement": "Better Auth documents using its SDK or API from code running on Cloudflare Workers.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/cloudflare/better-auth/#sync-workers-sdk"
    },
    {
      "id": "sync-auth",
      "topic": "sync",
      "statement": "Better Auth can sign users in or check sessions in Cloudflare Workers.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s2",
        "s1"
      ],
      "url": "https://trylode.io/cloudflare/better-auth/#sync-auth"
    },
    {
      "id": "regions",
      "topic": "regions",
      "statement": "The sources don't limit Better Auth to particular countries.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/cloudflare/better-auth/#regions"
    },
    {
      "id": "limitation-1",
      "topic": "limitation",
      "statement": "Needs Node.js compatibility: on by default from compatibility date 2026-08-04, otherwise add the nodejs_compat flag.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/cloudflare/better-auth/#limitation-1"
    },
    {
      "id": "limitation-2",
      "topic": "limitation",
      "statement": "An auth instance at module scope can't hold a connection pool such as pg or mysql2, even through Hyperdrive; use a database driver that queries over HTTP.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/cloudflare/better-auth/#limitation-2"
    },
    {
      "id": "limitation-3",
      "topic": "limitation",
      "statement": "Cloudflare Workers KV can't be used as Better Auth's secondary storage; use a store such as Redis.",
      "label": "Lode-verified",
      "verified": "2026-11-27",
      "src": [
        "s1"
      ],
      "url": "https://trylode.io/cloudflare/better-auth/#limitation-3"
    }
  ],
  "cite_as": "Lode (trylode.io), Better Auth + Cloudflare, verified 2026-11-27",
  "lode": {
    "publish_state": "live",
    "stale": false,
    "completeness": 0.8
  }
}