Auth.JS + Drizzle ORM ([auth][error] AdapterError)

I have been trying to complete the authentication setup , but this error keeps on popping up. I have followed all the installation part from the docs and configured google OAuth, and drizzleAdapter successfully. When a user clicks on signin, it creates the correct entry on the DB (both in users and account table), but it doesn't compelete the call. I have added logs in session under callbacks, and it is not called. And the session when logged in other files (although the DB is updated) returns a null.
No description
1 Reply
4nZ
4nZOP3w ago
I have cross-checked the Date format in the schema(there shouldn't be an error ?) : createdAt: timestamp("created_at", { withTimezone: true, mode: "string" }).defaultNow().notNull(), And this is my auth/index.ts file : It will be a huge help if you guys can give me something !
Want results from more Discord servers?
Add your server