Cammy
Explore posts from serversBABetter Auth
•Created by Cammy on 1/8/2025 in #help
Using drizzle pglite with better-auth
yeah
8 replies
BABetter Auth
•Created by Cammy on 1/8/2025 in #help
Using drizzle pglite with better-auth
const session = await auth.api.getSession({ headers });
8 replies
BABetter Auth
•Created by Cammy on 1/8/2025 in #help
Using drizzle pglite with better-auth
ah i appreciate that, im currently using tanstack start so it could be an issue with that:
but i have the following drizzle-dev.config.ts:
i have the drizzle-prod.config.ts:
db.ts
what im noticing is the db is being updated, say a user signs up via google oauth, but the db isnt being updated so when i run a session check its null.
If i restart the dev server the db will have the user and pass the auth check
8 replies