Google Oauth error on 1.2.6
Hi. Today, after updating to 1.2.6, the CLI generates schema with uuid instead of id.
I changed other schemas to use uuid, too, and used drizzle to modify the database. Now I get this error from the terminal:
I downgraded to 1.2.5 and reverted back everything to use id with text instead of uuid, and the error has gone.
I get that during OAuth, it's trying to put an id to the verification table that the format is not uuid, and the error is coming from there.
Nextjs 15.2.4
better-auth 1.2.6
Drizzle-orm 0.41
supabase
Solution:Jump to solution
There is a PR which fixes this, it will be merged as soon as @bekacru is available.
Sorry for the inconvenience....
3 Replies
Solution
There is a PR which fixes this, it will be merged as soon as @bekacru is available.
Sorry for the inconvenience.
You can track the PR here:
https://github.com/better-auth/better-auth/pull/2248
Thank you for your response. I was struggling with it for hours 😅 Marked it as solved.