Home
Welcome!
This demo page showcases issues when utilizing Better Auth (1.3.34) with Cloudflare Workers, D1, and the Kysely with the community-maintained Kysely D1 adapter.
Please note that the demo code and UI may evolve, so regularly check the GitHub repository.
I used SvelteKit with the experimental Remote Functions for the demo. However, the logic can be tailored to other setups.
Additional information is available in the GitHub repository.
What issues are explained and quickfixed here?
- Accessing the D1 database instance outside the worker runtime.
- Table access error
SQLITE_AUTHon D1. - Inability to execute the built-in migration script
npx @better-auth/cli@latest generatescript. - Module import errors.