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.
image.png
Was this page helpful?