Closed zmzlois closed 2 months ago
Another question is how should I set up vercel/postgres with drizzle and lucia? it seems like the auth is baked in and I am not sure how should this looks like
You're probably following an old tutorial. See: https://lucia-auth.com/database/postgresql
You'd want to use the Drizzle adapter: https://lucia-auth.com/database/drizzle
Package
@lucia-auth/adapter-postgresql
Describe the bug
I am using Next.js 13.4.8 with vercel postgres and it seems like the error is telling me there is no exported member postgres, which never happened when I am using lucia in other places
My dependencies:
where I am using it
src/auth.ts
code:
tsconfig