├── .github └── workflows │ ├── build-hono-example.yml │ ├── build-opennextjs-example.yml │ ├── build.yml │ ├── cli-build.yml │ ├── cli-test.yml │ └── continuous-releases.yml ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc ├── LICENSE ├── README.md ├── cli ├── .npmignore ├── README.md ├── package.json ├── src │ ├── index.ts │ └── lib │ │ ├── auth-generator.ts │ │ ├── db-generator.ts │ │ ├── env-d-generator.ts │ │ ├── helpers.ts │ │ ├── project-validator.ts │ │ ├── typescript-validator.ts │ │ └── wrangler-generator.ts ├── tests │ ├── auth-generator.test.ts │ ├── db-generator.test.ts │ ├── env-d-generator.test.ts │ ├── existing-resources.test.ts │ ├── id-extraction.test.ts │ ├── integration-project-validation.test.ts │ ├── integration │ │ ├── README.md │ │ ├── deployment.test.ts │ │ ├── integration.test.ts │ │ ├── setup.ts │ │ ├── test-configs.ts │ │ └── validators.ts │ ├── migrate-command.test.ts │ ├── migrate-integration.test.ts │ ├── non-interactive-args.test.ts │ ├── pre-existing-resources-config.test.ts │ ├── project-validator.test.ts │ ├── tsconfig.json │ ├── typescript-validator.test.ts │ ├── wrangler-generator.test.ts │ └── wrangler-toml.test.ts └── tsconfig.json ├── docs └── r2.md ├── examples ├── hono │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── drizzle.config.ts │ ├── drizzle │ │ ├── 0000_groovy_manta.sql │ │ └── meta │ │ │ ├── 0000_snapshot.json │ │ │ └── _journal.json │ ├── package.json │ ├── src │ │ ├── auth │ │ │ └── index.ts │ │ ├── db │ │ │ ├── auth.schema.ts │ │ │ ├── index.ts │ │ │ └── schema.ts │ │ ├── env.d.ts │ │ └── index.ts │ ├── tsconfig.json │ └── wrangler.toml └── opennextjs │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── .vscode │ └── settings.json │ ├── README.md │ ├── cloudflare-env.d.ts │ ├── components.json │ ├── drizzle.config.ts │ ├── drizzle │ ├── 0000_aspiring_supreme_intelligence.sql │ └── meta │ │ ├── 0000_snapshot.json │ │ └── _journal.json │ ├── env.d.ts │ ├── next.config.ts │ ├── open-next.config.ts │ ├── package.json │ ├── postcss.config.mjs │ ├── public │ ├── file.svg │ ├── globe.svg │ ├── next.svg │ ├── vercel.svg │ └── window.svg │ ├── src │ ├── app │ │ ├── api │ │ │ └── auth │ │ │ │ └── [...all] │ │ │ │ └── route.ts │ │ ├── dashboard │ │ │ ├── SignOutButton.tsx │ │ │ └── page.tsx │ │ ├── favicon.ico │ │ ├── globals.css │ │ ├── layout.tsx │ │ └── page.tsx │ ├── auth │ │ ├── authClient.ts │ │ └── index.ts │ ├── components │ │ ├── FileUploadDemo.tsx │ │ └── ui │ │ │ ├── button.tsx │ │ │ ├── card.tsx │ │ │ ├── dialog.tsx │ │ │ ├── input.tsx │ │ │ ├── label.tsx │ │ │ └── tabs.tsx │ ├── db │ │ ├── auth.schema.ts │ │ ├── index.ts │ │ └── schema.ts │ ├── lib │ │ └── utils.ts │ └── middleware.ts │ ├── tailwind.config.ts │ ├── tsconfig.json │ └── wrangler.toml ├── package.json ├── src ├── client.ts ├── index.ts ├── r2.ts ├── schema.ts └── types.ts └── tsconfig.json /.github/workflows/build-hono-example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.github/workflows/build-hono-example.yml -------------------------------------------------------------------------------- /.github/workflows/build-opennextjs-example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.github/workflows/build-opennextjs-example.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/cli-build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.github/workflows/cli-build.yml -------------------------------------------------------------------------------- /.github/workflows/cli-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.github/workflows/cli-test.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-releases.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.github/workflows/continuous-releases.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/README.md -------------------------------------------------------------------------------- /cli/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/.npmignore -------------------------------------------------------------------------------- /cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/README.md -------------------------------------------------------------------------------- /cli/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/package.json -------------------------------------------------------------------------------- /cli/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/src/index.ts -------------------------------------------------------------------------------- /cli/src/lib/auth-generator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/src/lib/auth-generator.ts -------------------------------------------------------------------------------- /cli/src/lib/db-generator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/src/lib/db-generator.ts -------------------------------------------------------------------------------- /cli/src/lib/env-d-generator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/src/lib/env-d-generator.ts -------------------------------------------------------------------------------- /cli/src/lib/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/src/lib/helpers.ts -------------------------------------------------------------------------------- /cli/src/lib/project-validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/src/lib/project-validator.ts -------------------------------------------------------------------------------- /cli/src/lib/typescript-validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/src/lib/typescript-validator.ts -------------------------------------------------------------------------------- /cli/src/lib/wrangler-generator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/src/lib/wrangler-generator.ts -------------------------------------------------------------------------------- /cli/tests/auth-generator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/auth-generator.test.ts -------------------------------------------------------------------------------- /cli/tests/db-generator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/db-generator.test.ts -------------------------------------------------------------------------------- /cli/tests/env-d-generator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/env-d-generator.test.ts -------------------------------------------------------------------------------- /cli/tests/existing-resources.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/existing-resources.test.ts -------------------------------------------------------------------------------- /cli/tests/id-extraction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/id-extraction.test.ts -------------------------------------------------------------------------------- /cli/tests/integration-project-validation.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/integration-project-validation.test.ts -------------------------------------------------------------------------------- /cli/tests/integration/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/integration/README.md -------------------------------------------------------------------------------- /cli/tests/integration/deployment.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/integration/deployment.test.ts -------------------------------------------------------------------------------- /cli/tests/integration/integration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/integration/integration.test.ts -------------------------------------------------------------------------------- /cli/tests/integration/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/integration/setup.ts -------------------------------------------------------------------------------- /cli/tests/integration/test-configs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/integration/test-configs.ts -------------------------------------------------------------------------------- /cli/tests/integration/validators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/integration/validators.ts -------------------------------------------------------------------------------- /cli/tests/migrate-command.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/migrate-command.test.ts -------------------------------------------------------------------------------- /cli/tests/migrate-integration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/migrate-integration.test.ts -------------------------------------------------------------------------------- /cli/tests/non-interactive-args.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/non-interactive-args.test.ts -------------------------------------------------------------------------------- /cli/tests/pre-existing-resources-config.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/pre-existing-resources-config.test.ts -------------------------------------------------------------------------------- /cli/tests/project-validator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/project-validator.test.ts -------------------------------------------------------------------------------- /cli/tests/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/tsconfig.json -------------------------------------------------------------------------------- /cli/tests/typescript-validator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/typescript-validator.test.ts -------------------------------------------------------------------------------- /cli/tests/wrangler-generator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/wrangler-generator.test.ts -------------------------------------------------------------------------------- /cli/tests/wrangler-toml.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tests/wrangler-toml.test.ts -------------------------------------------------------------------------------- /cli/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/cli/tsconfig.json -------------------------------------------------------------------------------- /docs/r2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/docs/r2.md -------------------------------------------------------------------------------- /examples/hono/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/.gitignore -------------------------------------------------------------------------------- /examples/hono/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/.prettierignore -------------------------------------------------------------------------------- /examples/hono/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/.prettierrc -------------------------------------------------------------------------------- /examples/hono/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/README.md -------------------------------------------------------------------------------- /examples/hono/drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/drizzle.config.ts -------------------------------------------------------------------------------- /examples/hono/drizzle/0000_groovy_manta.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/drizzle/0000_groovy_manta.sql -------------------------------------------------------------------------------- /examples/hono/drizzle/meta/0000_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/drizzle/meta/0000_snapshot.json -------------------------------------------------------------------------------- /examples/hono/drizzle/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/drizzle/meta/_journal.json -------------------------------------------------------------------------------- /examples/hono/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/package.json -------------------------------------------------------------------------------- /examples/hono/src/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/src/auth/index.ts -------------------------------------------------------------------------------- /examples/hono/src/db/auth.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/src/db/auth.schema.ts -------------------------------------------------------------------------------- /examples/hono/src/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/src/db/index.ts -------------------------------------------------------------------------------- /examples/hono/src/db/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/src/db/schema.ts -------------------------------------------------------------------------------- /examples/hono/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/src/env.d.ts -------------------------------------------------------------------------------- /examples/hono/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/src/index.ts -------------------------------------------------------------------------------- /examples/hono/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/tsconfig.json -------------------------------------------------------------------------------- /examples/hono/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/hono/wrangler.toml -------------------------------------------------------------------------------- /examples/opennextjs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/.gitignore -------------------------------------------------------------------------------- /examples/opennextjs/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/.prettierignore -------------------------------------------------------------------------------- /examples/opennextjs/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/.prettierrc -------------------------------------------------------------------------------- /examples/opennextjs/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/.vscode/settings.json -------------------------------------------------------------------------------- /examples/opennextjs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/README.md -------------------------------------------------------------------------------- /examples/opennextjs/cloudflare-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/cloudflare-env.d.ts -------------------------------------------------------------------------------- /examples/opennextjs/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/components.json -------------------------------------------------------------------------------- /examples/opennextjs/drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/drizzle.config.ts -------------------------------------------------------------------------------- /examples/opennextjs/drizzle/0000_aspiring_supreme_intelligence.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/drizzle/0000_aspiring_supreme_intelligence.sql -------------------------------------------------------------------------------- /examples/opennextjs/drizzle/meta/0000_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/drizzle/meta/0000_snapshot.json -------------------------------------------------------------------------------- /examples/opennextjs/drizzle/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/drizzle/meta/_journal.json -------------------------------------------------------------------------------- /examples/opennextjs/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/env.d.ts -------------------------------------------------------------------------------- /examples/opennextjs/next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/next.config.ts -------------------------------------------------------------------------------- /examples/opennextjs/open-next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/open-next.config.ts -------------------------------------------------------------------------------- /examples/opennextjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/package.json -------------------------------------------------------------------------------- /examples/opennextjs/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/postcss.config.mjs -------------------------------------------------------------------------------- /examples/opennextjs/public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/public/file.svg -------------------------------------------------------------------------------- /examples/opennextjs/public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/public/globe.svg -------------------------------------------------------------------------------- /examples/opennextjs/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/public/next.svg -------------------------------------------------------------------------------- /examples/opennextjs/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/public/vercel.svg -------------------------------------------------------------------------------- /examples/opennextjs/public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/public/window.svg -------------------------------------------------------------------------------- /examples/opennextjs/src/app/api/auth/[...all]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/app/api/auth/[...all]/route.ts -------------------------------------------------------------------------------- /examples/opennextjs/src/app/dashboard/SignOutButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/app/dashboard/SignOutButton.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/app/dashboard/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/app/dashboard/page.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/app/favicon.ico -------------------------------------------------------------------------------- /examples/opennextjs/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/app/globals.css -------------------------------------------------------------------------------- /examples/opennextjs/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/app/layout.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/app/page.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/auth/authClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/auth/authClient.ts -------------------------------------------------------------------------------- /examples/opennextjs/src/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/auth/index.ts -------------------------------------------------------------------------------- /examples/opennextjs/src/components/FileUploadDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/components/FileUploadDemo.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/components/ui/button.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/components/ui/card.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/components/ui/input.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/components/ui/label.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /examples/opennextjs/src/db/auth.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/db/auth.schema.ts -------------------------------------------------------------------------------- /examples/opennextjs/src/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/db/index.ts -------------------------------------------------------------------------------- /examples/opennextjs/src/db/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/db/schema.ts -------------------------------------------------------------------------------- /examples/opennextjs/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/lib/utils.ts -------------------------------------------------------------------------------- /examples/opennextjs/src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/src/middleware.ts -------------------------------------------------------------------------------- /examples/opennextjs/tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/tailwind.config.ts -------------------------------------------------------------------------------- /examples/opennextjs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/tsconfig.json -------------------------------------------------------------------------------- /examples/opennextjs/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/examples/opennextjs/wrangler.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/package.json -------------------------------------------------------------------------------- /src/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/src/client.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/r2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/src/r2.ts -------------------------------------------------------------------------------- /src/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/src/schema.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zpg6/better-auth-cloudflare/HEAD/tsconfig.json --------------------------------------------------------------------------------