Search
Star
Feedback
Setup for Free
Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Astro + Drizzle + Cloudflare D1 - Better Auth
BA
Better Auth
β’
12mo ago
β’
4 replies
MrSquaare
Astro + Drizzle + Cloudflare D1
Hello
,
Is there a way to properly setup Better Auth with Drizzle
+ D1 on Astro
?
Since the D1 DB is only accessible in the Astro context
(in an
.astro page or in a API Route
)
, it is not possible to return an
βauth
β constant
.
Is there another way
?
Thanks
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to use better-auth CLI in a Cloudflare workers + Cloudflare D1 + react-router + drizzle project?
BA
Better Auth / help
10mo ago
Astro DB with Drizzle Adapter + Headless libSQL Turso DB
BA
Better Auth / help
2mo ago
Init Drizzle with cloudflare env variables
BA
Better Auth / help
11mo ago
How to use Better Auth with Cloudflare D1?
BA
Better Auth / help
5mo ago