You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to complete the authentication setup, but the error below keeps on popping up.
I have followed all the installation part from the docs and configured google OAuth, and drizzleAdapter successfully. When a user signin, it creates the correct entry on the DB (both in users and account table), but it doesn't compelete the call. (my initial impression)
Things i have done .
I did some debugging in session under callbacks, and it is not called.
And the auth session (const session = await auth() ) when logged in from other files (although the DB is updated) returns a null.
Checked my schema and made sure, the created_at, expires_at across the schema, where Date are mentioned to be string. createdAt: timestamp("created_at", { withTimezone: true, mode: "string" }) .defaultNow() .notNull(),
And obviously asked claude, still got nothing.
It will be a huge help if you guys can give me something !
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
What am I doing ?
I have been trying to complete the authentication setup, but the error below keeps on popping up.

I have followed all the installation part from the docs and configured google OAuth, and drizzleAdapter successfully. When a user signin, it creates the correct entry on the DB (both in users and account table), but it doesn't compelete the call. (my initial impression)
Things i have done .
const session = await auth()
) when logged in from other files (although the DB is updated) returns a null.createdAt: timestamp("created_at", { withTimezone: true, mode: "string" }) .defaultNow() .notNull(),
It will be a huge help if you guys can give me something !
Beta Was this translation helpful? Give feedback.
All reactions